]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/print.stderr
New upstream version 1.23.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / print.stderr
1 error: use of `Debug`-based formatting
2 --> $DIR/print.rs:12:27
3 |
4 12 | write!(f, "{:?}", 43.1415)
5 | ^^^^^^^
6 |
7 = note: `-D use-debug` implied by `-D warnings`
8
9 error: use of `println!`
10 --> $DIR/print.rs:24:5
11 |
12 24 | println!("Hello");
13 | ^^^^^^^^^^^^^^^^^^
14 |
15 = note: `-D print-stdout` implied by `-D warnings`
16
17 error: use of `print!`
18 --> $DIR/print.rs:25:5
19 |
20 25 | print!("Hello");
21 | ^^^^^^^^^^^^^^^^
22
23 error: use of `print!`
24 --> $DIR/print.rs:27:5
25 |
26 27 | print!("Hello {}", "World");
27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28
29 error: use of `print!`
30 --> $DIR/print.rs:29:5
31 |
32 29 | print!("Hello {:?}", "World");
33 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
34
35 error: use of `Debug`-based formatting
36 --> $DIR/print.rs:29:26
37 |
38 29 | print!("Hello {:?}", "World");
39 | ^^^^^^^
40
41 error: use of `print!`
42 --> $DIR/print.rs:31:5
43 |
44 31 | print!("Hello {:#?}", "#orld");
45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46
47 error: use of `Debug`-based formatting
48 --> $DIR/print.rs:31:27
49 |
50 31 | print!("Hello {:#?}", "#orld");
51 | ^^^^^^^
52