You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/ui/unnecessary_os_str_debug_formatting.stderr
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ LL | println!("{:?}", os_str);
5
5
| ^^^^^^
6
6
|
7
7
= help: use `Display` formatting and change this to `os_str.display()`
8
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
8
9
= note: `-D clippy::unnecessary-debug-formatting` implied by `-D warnings`
9
10
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_debug_formatting)]`
= help: use `Display` formatting and change this to `os_string.display()`
19
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
18
20
19
21
error: unnecessary `Debug` formatting in `println!` args
= help: use `Display` formatting and change this to `os_str.display()`
28
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
26
29
27
30
error: unnecessary `Debug` formatting in `println!` args
= help: use `Display` formatting and change this to `os_string.display()`
37
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
34
38
35
39
error: unnecessary `Debug` formatting in `format!` args
= help: use `Display` formatting and change this to `os_str.display()`
46
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
42
47
43
48
error: unnecessary `Debug` formatting in `format!` args
= help: use `Display` formatting and change this to `os_string.display()`
55
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
Copy file name to clipboardExpand all lines: tests/ui/unnecessary_path_debug_formatting.stderr
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ LL | println!("{:?}", path);
5
5
| ^^^^
6
6
|
7
7
= help: use `Display` formatting and change this to `path.display()`
8
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
8
9
= note: `-D clippy::unnecessary-debug-formatting` implied by `-D warnings`
9
10
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_debug_formatting)]`
= help: use `Display` formatting and change this to `path_buf.display()`
19
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
18
20
19
21
error: unnecessary `Debug` formatting in `println!` args
= help: use `Display` formatting and change this to `path.display()`
28
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
26
29
27
30
error: unnecessary `Debug` formatting in `println!` args
= help: use `Display` formatting and change this to `path_buf.display()`
37
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
34
38
35
39
error: unnecessary `Debug` formatting in `format!` args
= help: use `Display` formatting and change this to `path.display()`
46
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
42
47
43
48
error: unnecessary `Debug` formatting in `format!` args
= help: use `Display` formatting and change this to `path_buf.display()`
55
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
50
56
51
57
error: unnecessary `Debug` formatting in `println!` args
= help: use `Display` formatting and change this to `&*deref_path.display()`
64
+
= note: switching to `Display` formatting will change how the value is shown; escaped characters will no longer be escaped and surrounding quotes will be removed
0 commit comments