rust/src/test/ui/issue-44406.stderr

16 lines
501 B
Plaintext
Raw Normal View History

error: expected identifier, found keyword `true`
--> $DIR/issue-44406.rs:18:10
|
2018-02-22 18:42:32 -06:00
LL | foo!(true); //~ ERROR expected type, found keyword
| ^^^^ expected identifier, found keyword
error: expected type, found keyword `true`
--> $DIR/issue-44406.rs:18:10
|
2018-02-22 18:42:32 -06:00
LL | bar(baz: $rest)
| - help: did you mean to use `;` here?
...
2018-02-22 18:42:32 -06:00
LL | foo!(true); //~ ERROR expected type, found keyword
| ^^^^ expecting a type here because of type ascription