fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
835 B35 linesraw
1error: format argument must be a string literal
2  --> $DIR/issue-30143.rs:4:14
3   |
4LL |     println!(0);
5   |              ^
6   |
7help: you might be missing a string literal to format with
8   |
9LL |     println!("{}", 0);
10   |              +++++
11
12error: format argument must be a string literal
13  --> $DIR/issue-30143.rs:6:15
14   |
15LL |     eprintln!('a');
16   |               ^^^
17   |
18help: you might be missing a string literal to format with
19   |
20LL |     eprintln!("{}", 'a');
21   |               +++++
22
23error: format argument must be a string literal
24  --> $DIR/issue-30143.rs:9:17
25   |
26LL |     writeln!(s, true).unwrap();
27   |                 ^^^^
28   |
29help: you might be missing a string literal to format with
30   |
31LL |     writeln!(s, "{}", true).unwrap();
32   |                 +++++
33
34error: aborting due to 3 previous errors
35