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

10 lines
175 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;
2019-08-27 16:44:44 -05:00
//~^ ERROR `mut` must be followed by a named binding
}