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