]> git.proxmox.com Git - rustc.git/blame - src/test/ui/macros/derive-in-eager-expansion-hang.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / macros / derive-in-eager-expansion-hang.stderr
CommitLineData
416331ca
XL
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
e74abb32 14 |
17df50a5 15 = note: this error originates in the macro `hang` (in Nightly builds, run with -Z macro-backtrace for more info)
416331ca
XL
16help: you might be missing a string literal to format with
17 |
18LL | format_args!("{}", hang!());
94222f64 19 | +++++
416331ca
XL
20
21error: aborting due to previous error
22