mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
9 lines
183 B
Rust
9 lines
183 B
Rust
// run-rustfix
|
|
fn main() {
|
|
let v = &mut &mut Vec::<i32>::new();
|
|
for _ in &mut &mut v {} //~ ERROR E0277
|
|
|
|
let v = &mut &mut [1u8];
|
|
for _ in &mut v {} //~ ERROR E0277
|
|
}
|