fork/rust

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

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

1.39.0
548 B22 linesraw
1error: format argument must be a string literal
2  --> $DIR/bad_hello.rs:2:14
3   |
4LL |     println!(3 + 4);
5   |              ^^^^^
6help: you might be missing a string literal to format with
7   |
8LL |     println!("{}", 3 + 4);
9   |              ^^^^^
10
11error: format argument must be a string literal
12  --> $DIR/bad_hello.rs:4:14
13   |
14LL |     println!(3, 4);
15   |              ^
16help: you might be missing a string literal to format with
17   |
18LL |     println!("{} {}", 3, 4);
19   |              ^^^^^^^^
20
21error: aborting due to 2 previous errors
22