]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/issue-30143.stderr
Rollup merge of #53413 - eddyb:featured-in-the-latest-edition, r=varkor
[rust.git] / src / test / ui / macros / issue-30143.stderr
1 error: format argument must be a string literal
2   --> $DIR/issue-30143.rs:14:14
3    |
4 LL |     println!(0);
5    |              ^
6 help: you might be missing a string literal to format with
7    |
8 LL |     println!("{}", 0);
9    |              ^^^^^
10
11 error: format argument must be a string literal
12   --> $DIR/issue-30143.rs:16:15
13    |
14 LL |     eprintln!('a');
15    |               ^^^
16 help: you might be missing a string literal to format with
17    |
18 LL |     eprintln!("{}", 'a');
19    |               ^^^^^
20
21 error: format argument must be a string literal
22   --> $DIR/issue-30143.rs:19:17
23    |
24 LL |     writeln!(s, true).unwrap();
25    |                 ^^^^
26 help: you might be missing a string literal to format with
27    |
28 LL |     writeln!(s, "{}", true).unwrap();
29    |                 ^^^^^
30
31 error: aborting due to 3 previous errors
32