]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-11692-2.stderr
848415435a78ba0d3feb891f5aaa06f01fe3d7e9
[rust.git] / src / test / ui / issues / issue-11692-2.stderr
1 error: expected a literal
2   --> $DIR/issue-11692-2.rs:2:13
3    |
4 LL |     concat!(test!()); //~ ERROR cannot find macro `test!` in this scope
5    |             ^^^^^^^
6    |
7    = note: only literals (like `"foo"`, `42` and `3.14`) can be passed to `concat!()`
8
9 error: cannot find macro `test!` in this scope
10   --> $DIR/issue-11692-2.rs:2:13
11    |
12 LL |     concat!(test!()); //~ ERROR cannot find macro `test!` in this scope
13    |             ^^^^
14
15 error: aborting due to 2 previous errors
16