rust/tests/ui/parser/issues/issue-32501.rs

10 lines
175 B
Rust

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 followed by a named binding
}