]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/resolve-hint-macro.fixed
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / resolve / resolve-hint-macro.fixed
1 // run-rustfix
2 fn main() {
3     assert_eq!(1, 1);
4     //~^ ERROR expected function, found macro `assert_eq`
5     assert_eq! { 1, 1 };
6     //~^ ERROR expected struct, variant or union type, found macro `assert_eq`
7     //~| ERROR expected identifier, found `1`
8     //~| ERROR expected identifier, found `1`
9     assert![true];
10     //~^ ERROR expected value, found macro `assert`
11 }