-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
keep-openmetaunsupported-rustRust code rejected by hax. Unless marked wontfix, we want to support it soon.Rust code rejected by hax. Unless marked wontfix, we want to support it soon.wontfix-v1This will not be worked on, but might after v1.This will not be worked on, but might after v1.
Description
Hax promotes a functional style in Rust: it doesn't aim at supporting complex mutation schemes.
We allow:
&mutarguments on user-defined functions;- pass
&mutarguments to any function or operator; - use of certain
&mut-returning functions.
We disallow:
- defining
&mut-returning functions (see cryspen/hax-evit#8); - aliasing an
&mut-typed variable (i.e.fn f(x: &mut u8) { let y = x; ...}, see Unsupported: implicit reborrowing #419); - mutable borrows inside types.
Metadata
Metadata
Assignees
Labels
keep-openmetaunsupported-rustRust code rejected by hax. Unless marked wontfix, we want to support it soon.Rust code rejected by hax. Unless marked wontfix, we want to support it soon.wontfix-v1This will not be worked on, but might after v1.This will not be worked on, but might after v1.