]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/bad-concat.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / macros / bad-concat.stderr
1 error: expected a literal
2   --> $DIR/bad-concat.rs:5:21
3    |
4 LL |     let _ = concat!(x, y, z, "bar");
5    |                     ^  ^  ^
6    |
7    = note: only literals (like `"foo"`, `42` and `3.14`) can be passed to `concat!()`
8
9 error: aborting due to previous error
10