fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
267 B10 linesraw
1error: expected a literal
2  --> $DIR/bad-concat.rs:5:21
3   |
4LL |     let _ = concat!(x, y, z, "bar");
5   |                     ^  ^  ^
6   |
7   = note: only literals (like `"foo"`, `42` and `3.14`) can be passed to `concat!()`
8
9error: aborting due to previous error
10