]> git.lizzy.rs Git - rust.git/blob - tests/ui/print.stderr
Merge pull request #1520 from Manishearth/rustup
[rust.git] / 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: lint level defined here
8   --> $DIR/print.rs:3:23
9    |
10 3  | #![deny(print_stdout, use_debug)]
11    |                       ^^^^^^^^^
12
13 error: use of `println!`
14   --> $DIR/print.rs:25:5
15    |
16 25 |     println!("Hello");
17    |     ^^^^^^^^^^^^^^^^^^
18    |
19 note: lint level defined here
20   --> $DIR/print.rs:3:9
21    |
22 3  | #![deny(print_stdout, use_debug)]
23    |         ^^^^^^^^^^^^
24
25 error: use of `print!`
26   --> $DIR/print.rs:26:5
27    |
28 26 |     print!("Hello");
29    |     ^^^^^^^^^^^^^^^^
30
31 error: use of `print!`
32   --> $DIR/print.rs:28:5
33    |
34 28 |     print!("Hello {}", "World");
35    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36
37 error: use of `print!`
38   --> $DIR/print.rs:30:5
39    |
40 30 |     print!("Hello {:?}", "World");
41    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42
43 error: use of `Debug`-based formatting
44   --> $DIR/print.rs:30:26
45    |
46 30 |     print!("Hello {:?}", "World");
47    |                          ^^^^^^^
48
49 error: use of `print!`
50   --> $DIR/print.rs:34:5
51    |
52 34 |     print!("Hello {:#?}", "#orld");
53    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54
55 error: use of `Debug`-based formatting
56   --> $DIR/print.rs:34:27
57    |
58 34 |     print!("Hello {:#?}", "#orld");
59    |                           ^^^^^^^
60
61 error: aborting due to 8 previous errors
62