about summary refs log tree commit diff
path: root/tests/ui/resolve/resolve-hint-macro.fixed
blob: 4821aef1bbd6aa3110d8c072034255453588d820 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ run-rustfix
fn main() {
    assert_eq!(1, 1);
    //~^ ERROR expected function, found macro `assert_eq`
    assert_eq! { 1, 1 };
    //~^ ERROR expected struct, variant or union type, found macro `assert_eq`
    //~| ERROR expected identifier, found `1`
    //~| ERROR expected identifier, found `1`
    assert![true];
    //~^ ERROR expected value, found macro `assert`
}