summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-32501.rs
blob: 500242030c6556ae272760b25ea848f953509fe0 (plain)
1
2
3
4
5
6
7
8
9
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
}