summary refs log tree commit diff
path: root/src/test/ui/issue-44406.stderr
blob: 5cd9b3f065eb8fbc07ce3bd341ebe60154da0c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: expected identifier, found keyword `true`
  --> $DIR/issue-44406.rs:18:10
   |
LL |     foo!(true); //~ ERROR expected type, found keyword
   |          ^^^^ expected identifier, found keyword

error: expected type, found keyword `true`
  --> $DIR/issue-44406.rs:18:10
   |
LL |         bar(baz: $rest)
   |                - help: try using a semicolon: `;`
...
LL |     foo!(true); //~ ERROR expected type, found keyword
   |          ^^^^ expecting a type here because of type ascription

error: aborting due to 2 previous errors