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

16 lines
466 B
Plaintext
Raw Normal View History

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