1+ error: expected identifier, found `1`
2+ --> $DIR/resolve-hint-macro.rs:5:17
3+ |
4+ LL | assert_eq { 1, 1 };
5+ | --------- ^ expected identifier
6+ | |
7+ | while parsing this struct
8+
9+ error: expected identifier, found `1`
10+ --> $DIR/resolve-hint-macro.rs:5:20
11+ |
12+ LL | assert_eq { 1, 1 };
13+ | --------- ^ expected identifier
14+ | |
15+ | while parsing this struct
16+
117error[E0423]: expected function, found macro `assert_eq`
2- --> $DIR/resolve-hint-macro.rs:2 :5
18+ --> $DIR/resolve-hint-macro.rs:3 :5
319 |
420LL | assert_eq(1, 1);
521 | ^^^^^^^^^ not a function
@@ -9,6 +25,29 @@ help: use `!` to invoke the macro
925LL | assert_eq!(1, 1);
1026 | +
1127
12- error: aborting due to previous error
28+ error[E0574]: expected struct, variant or union type, found macro `assert_eq`
29+ --> $DIR/resolve-hint-macro.rs:5:5
30+ |
31+ LL | assert_eq { 1, 1 };
32+ | ^^^^^^^^^ not a struct, variant or union type
33+ |
34+ help: use `!` to invoke the macro
35+ |
36+ LL | assert_eq! { 1, 1 };
37+ | +
38+
39+ error[E0423]: expected value, found macro `assert`
40+ --> $DIR/resolve-hint-macro.rs:9:5
41+ |
42+ LL | assert[true];
43+ | ^^^^^^ not a value
44+ |
45+ help: use `!` to invoke the macro
46+ |
47+ LL | assert![true];
48+ | +
49+
50+ error: aborting due to 5 previous errors
1351
14- For more information about this error, try `rustc --explain E0423`.
52+ Some errors have detailed explanations: E0423, E0574.
53+ For more information about an error, try `rustc --explain E0423`.
0 commit comments