summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/print.stderr
blob: bb8d945081e161e184a07d3a1314126c7600e665 (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
55
56
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`
   = help: to override `-D warnings` add `#[allow(clippy::use_debug)]`

error: use of `println!`
  --> $DIR/print.rs:25:5
   |
LL |     println!("Hello");
   |     ^^^^^^^^^^^^^^^^^
   |
   = note: `-D clippy::print-stdout` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::print_stdout)]`

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

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

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

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

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

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

error: aborting due to 8 previous errors