fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
493 B21 linesraw
1error: format argument must be a string literal
2  --> $DIR/derive-in-eager-expansion-hang.rs:4:5
3   |
4LL | /     {
5LL | |         #[derive(Clone)]
6LL | |         struct S;
7LL | |
8LL | |         ""
9LL | |     }
10   | |_____^
11...
12LL |       format_args!(hang!());
13   |                    ------- in this macro invocation
14   |
15help: you might be missing a string literal to format with
16   |
17LL |     format_args!("{}", hang!());
18   |                  ^^^^^
19
20error: aborting due to previous error
21