AeneasVerif / aeneas

A verification toolchain for Rust programs
Apache License 2.0
136 stars 12 forks source link

Trust rustc regarding `Copy` bounds #119

Closed Nadrieril closed 1 month ago

Nadrieril commented 1 month ago

Rustc's type checking guarantees that any copy(..) in LLBC applies to a type that has the Copy bound. Because copy(..) means "copying just the bits", there is no need to find the corresponding Copy implementation either, so https://github.com/AeneasVerif/charon/pull/111 makes ty_is_copyable always return true.

This bumps charon to https://github.com/AeneasVerif/charon/pull/111.

Fixes https://github.com/AeneasVerif/aeneas/issues/118