summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/print.stderr
blob: 1754c418381a13c4b25efaae6a02fa2532e1a7da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
error: use of `Debug`-based formatting
  --> $DIR/print.rs:11:20
   |
LL |         write!(f, "{:?}", 43.1415)
   |                    ^^^^
   |
   = note: `-D clippy::use-debug` implied by `-D warnings`

error: use of `println!`
  --> $DIR/print.rs:23:5
   |
LL |     println!("Hello");
   |     ^^^^^^^^^^^^^^^^^
   |
   = note: `-D clippy::print-stdout` implied by `-D warnings`

error: use of `print!`
  --> $DIR/print.rs:24:5
   |
LL |     print!("Hello");
   |     ^^^^^^^^^^^^^^^

error: use of `print!`
  --> $DIR/print.rs:26:5
   |
LL |     print!("Hello {}", "World");
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of `print!`
  --> $DIR/print.rs:28:5
   |
LL |     print!("Hello {:?}", "World");
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of `Debug`-based formatting
  --> $DIR/print.rs:28:19
   |
LL |     print!("Hello {:?}", "World");
   |                   ^^^^

error: use of `print!`
  --> $DIR/print.rs:30:5
   |
LL |     print!("Hello {:#?}", "#orld");
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of `Debug`-based formatting
  --> $DIR/print.rs:30:19
   |
LL |     print!("Hello {:#?}", "#orld");
   |                   ^^^^^

error: aborting due to 8 previous errors