]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/resolve-hint-macro.stderr
Rollup merge of #101369 - compiler-errors:global-asm-pprint, r=jackh726
[rust.git] / src / test / ui / resolve / resolve-hint-macro.stderr
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
17 error[E0423]: expected function, found macro `assert_eq`
18   --> $DIR/resolve-hint-macro.rs:3:5
19    |
20 LL |     assert_eq(1, 1);
21    |     ^^^^^^^^^ not a function
22    |
23 help: use `!` to invoke the macro
24    |
25 LL |     assert_eq!(1, 1);
26    |              +
27
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
51
52 Some errors have detailed explanations: E0423, E0574.
53 For more information about an error, try `rustc --explain E0423`.