Mutable references (&mut T
) with complex aliasing (meta-issue)
#420
Labels
keep-open
meta
unsupported-rust
Rust code rejected by hax. Unless marked wontfix, we want to support it soon.
wontfix-v1
This will not be worked on, but might after v1.
Hax promotes a functional style in Rust: it doesn't aim at supporting complex mutation schemes.
We allow:
&mut
arguments on user-defined functions;&mut
arguments to any function or operator;&mut
-returning functions.We disallow:
&mut
-returning functions (see Full&mut
support #418);&mut
-typed variable (i.e.fn f(x: &mut u8) { let y = x; ...}
, see Unsupported: implicit reborrowing #419).The text was updated successfully, but these errors were encountered: