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