rust/src/test/ui/issues/issue-11692-2.stderr

17 lines
485 B
Plaintext
Raw Normal View History

error: expected a literal
2018-12-26 18:07:00 -06:00
--> $DIR/issue-11692-2.rs:2:13
|
LL | concat!(test!()); //~ ERROR cannot find macro `test!` in this scope
| ^^^^^^^
|
= note: only literals (like `"foo"`, `42` and `3.14`) can be passed to `concat!()`
error: cannot find macro `test!` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-11692-2.rs:2:13
2018-07-15 16:11:54 -05:00
|
LL | concat!(test!()); //~ ERROR cannot find macro `test!` in this scope
2018-07-15 16:11:54 -05:00
| ^^^^
error: aborting due to 2 previous errors
2018-07-15 16:11:54 -05:00