rust/src/test/ui/parser/issue-32501.rs

10 lines
183 B
Rust
Raw Normal View History

fn main() {
let a = 0;
let _b = 0;
let _ = 0;
let mut b = 0;
let mut _b = 0;
let mut _ = 0;
//~^ ERROR `mut` must be attached to each individual binding
}