fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
399 B13 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   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7help: you might be missing a string literal to format with
8   |
9LL |     format_args!("{}", { #[derive(Clone)] struct S; });
10   |                  ^^^^^
11
12error: aborting due to previous error
13