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