rust/tests/ui/error-codes/E0596.rs
2023-01-11 09:32:08 +00:00

5 lines
67 B
Rust

fn main() {
let x = 1;
let y = &mut x; //~ ERROR [E0596]
}