summary refs log tree commit diff
path: root/src/test/ui/cross/cross-file-errors/main.rs
blob: 1902ab94d4c0d1ec136f397bbc4f3239ab9f1576 (plain)
1
2
3
4
5
6
7
8
#[macro_use]
mod underscore;

fn main() {
    underscore!();
    //~^ ERROR `_` can only be used on the left-hand side of an assignment
    //~| ERROR destructuring assignments are unstable
}