]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/resolve-hint-macro.fixed
Rollup merge of #101292 - rust-lang:notriddle/rustdoc-table-first-child, r=GuillaumeGomez
[rust.git] / src / test / 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 }