summary refs log tree commit diff
path: root/src/test/ui/issue-44406.stderr
blob: de7c11732e4a39e029c9df88134f2ba062f4da30 (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: did you mean to use `;` here?
...
LL |     foo!(true); //~ ERROR expected type, found keyword
   |          ^^^^ expecting a type here because of type ascription

error: aborting due to 2 previous errors