1 error[E0019]: constant function contains unimplemented expression type
2 --> $DIR/const_let_assign3.rs:9:9
7 = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable
9 error[E0764]: mutable references are not allowed in constants
10 --> $DIR/const_let_assign3.rs:16:5
13 | ^ `&mut` is only allowed in `const fn`
15 error[E0764]: mutable references are not allowed in constants
16 --> $DIR/const_let_assign3.rs:22:13
19 | ^^^^^^ `&mut` is only allowed in `const fn`
21 error[E0019]: constant contains unimplemented expression type
22 --> $DIR/const_let_assign3.rs:24:5
27 = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable
29 error: aborting due to 4 previous errors
31 Some errors have detailed explanations: E0019, E0764.
32 For more information about an error, try `rustc --explain E0019`.