summary refs log tree commit diff
path: root/src/test/ui/resolve/resolve-inconsistent-names.rs
blob: 59baa57d91b3defc6f443a8a0233dfdb41cfa7af (plain)
1
2
3
4
5
6
7
fn main() {
    let y = 1;
    match y {
       a | b => {} //~  ERROR variable `a` is not bound in all patterns
                   //~^ ERROR variable `b` is not bound in all patterns
    }
}