fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.3 KiB56 linesraw
1error: use of `Debug`-based formatting
2  --> $DIR/print.rs:11:20
3   |
4LL |         write!(f, "{:?}", 43.1415)
5   |                    ^^^^
6   |
7   = note: `-D clippy::use-debug` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::use_debug)]`
9
10error: use of `println!`
11  --> $DIR/print.rs:25:5
12   |
13LL |     println!("Hello");
14   |     ^^^^^^^^^^^^^^^^^
15   |
16   = note: `-D clippy::print-stdout` implied by `-D warnings`
17   = help: to override `-D warnings` add `#[allow(clippy::print_stdout)]`
18
19error: use of `print!`
20  --> $DIR/print.rs:28:5
21   |
22LL |     print!("Hello");
23   |     ^^^^^^^^^^^^^^^
24
25error: use of `print!`
26  --> $DIR/print.rs:31:5
27   |
28LL |     print!("Hello {}", "World");
29   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
31error: use of `print!`
32  --> $DIR/print.rs:34:5
33   |
34LL |     print!("Hello {:?}", "World");
35   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36
37error: use of `Debug`-based formatting
38  --> $DIR/print.rs:34:19
39   |
40LL |     print!("Hello {:?}", "World");
41   |                   ^^^^
42
43error: use of `print!`
44  --> $DIR/print.rs:38:5
45   |
46LL |     print!("Hello {:#?}", "#orld");
47   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48
49error: use of `Debug`-based formatting
50  --> $DIR/print.rs:38:19
51   |
52LL |     print!("Hello {:#?}", "#orld");
53   |                   ^^^^^
54
55error: aborting due to 8 previous errors
56