fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
452 B18 linesraw
1error: expected a literal
2  --> $DIR/issue-106837.rs:5:13
3   |
4LL |     concat!(-"hello");
5   |             ^^^^^^^^
6   |
7   = note: only literals (like `"foo"`, `-42` and `3.14`) can be passed to `concat!()`
8
9error: expected a literal
10  --> $DIR/issue-106837.rs:8:13
11   |
12LL |     concat!(--1);
13   |             ^^^
14   |
15   = note: only literals (like `"foo"`, `-42` and `3.14`) can be passed to `concat!()`
16
17error: aborting due to 2 previous errors
18