]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-44406.stderr
e07face24bab7b0c4acfd1dfd4e8693e64e5a208
[rust.git] / src / test / ui / issue-44406.stderr
1 error: expected identifier, found keyword `true`
2   --> $DIR/issue-44406.rs:18:10
3    |
4 18 |     foo!(true);
5    |          ^^^^
6
7 error: expected type, found keyword `true`
8   --> $DIR/issue-44406.rs:18:10
9    |
10 13 |         bar(baz: $rest)
11    |                - help: did you mean to use `;` here?
12 ...
13 18 |     foo!(true);
14    |          ^^^^ expecting a type here because of type ascription
15
16 error: expected one of `!`, `&&`, `&`, `(`, `*`, `.`, `;`, `<`, `?`, `[`, `_`, `extern`, `fn`, `for`, `impl`, `unsafe`, `}`, an operator, or lifetime, found `true`
17   --> $DIR/issue-44406.rs:18:10
18    |
19 13 |         bar(baz: $rest)
20    |                 - expected one of 19 possible tokens here
21 ...
22 18 |     foo!(true);
23    |          ^^^^ unexpected token
24
25 error: aborting due to 3 previous errors
26