]> git.proxmox.com Git - rustc.git/blob - src/test/ui/macros/issue-30143.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / macros / issue-30143.stderr
1 error: format argument must be a string literal
2 --> $DIR/issue-30143.rs:4:14
3 |
4 LL | println!(0);
5 | ^
6 |
7 help: you might be missing a string literal to format with
8 |
9 LL | println!("{}", 0);
10 | +++++
11
12 error: format argument must be a string literal
13 --> $DIR/issue-30143.rs:6:15
14 |
15 LL | eprintln!('a');
16 | ^^^
17 |
18 help: you might be missing a string literal to format with
19 |
20 LL | eprintln!("{}", 'a');
21 | +++++
22
23 error: format argument must be a string literal
24 --> $DIR/issue-30143.rs:9:17
25 |
26 LL | writeln!(s, true).unwrap();
27 | ^^^^
28 |
29 help: you might be missing a string literal to format with
30 |
31 LL | writeln!(s, "{}", true).unwrap();
32 | +++++
33
34 error: aborting due to 3 previous errors
35