fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
394 B12 linesraw
1error: format argument must be a string literal
2  --> $DIR/expansion-info-reset.rs:2:18
3   |
4LL |     format_args!({ #[derive(Clone)] struct S; });
5   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6help: you might be missing a string literal to format with
7   |
8LL |     format_args!("{}", { #[derive(Clone)] struct S; });
9   |                  ^^^^^
10
11error: aborting due to previous error
12