1
1
error: the `dbg!` macro is intended as a debugging tool
2
- --> tests/ui-toml/dbg_macro/dbg_macro.rs:5 :22
2
+ --> tests/ui-toml/dbg_macro/dbg_macro.rs:6 :22
3
3
|
4
4
LL | if let Some(n) = dbg!(n.checked_sub(4)) { n } else { n }
5
5
| ^^^^^^^^^^^^^^^^^^^^^^
@@ -12,7 +12,7 @@ LL | if let Some(n) = n.checked_sub(4) { n } else { n }
12
12
| ~~~~~~~~~~~~~~~~
13
13
14
14
error: the `dbg!` macro is intended as a debugging tool
15
- --> tests/ui-toml/dbg_macro/dbg_macro.rs:9 :8
15
+ --> tests/ui-toml/dbg_macro/dbg_macro.rs:10 :8
16
16
|
17
17
LL | if dbg!(n <= 1) {
18
18
| ^^^^^^^^^^^^
@@ -23,7 +23,7 @@ LL | if n <= 1 {
23
23
| ~~~~~~
24
24
25
25
error: the `dbg!` macro is intended as a debugging tool
26
- --> tests/ui-toml/dbg_macro/dbg_macro.rs:10 :9
26
+ --> tests/ui-toml/dbg_macro/dbg_macro.rs:11 :9
27
27
|
28
28
LL | dbg!(1)
29
29
| ^^^^^^^
34
34
|
35
35
36
36
error: the `dbg!` macro is intended as a debugging tool
37
- --> tests/ui-toml/dbg_macro/dbg_macro.rs:12 :9
37
+ --> tests/ui-toml/dbg_macro/dbg_macro.rs:13 :9
38
38
|
39
39
LL | dbg!(n * factorial(n - 1))
40
40
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -45,7 +45,7 @@ LL | n * factorial(n - 1)
45
45
|
46
46
47
47
error: the `dbg!` macro is intended as a debugging tool
48
- --> tests/ui-toml/dbg_macro/dbg_macro.rs:17 :5
48
+ --> tests/ui-toml/dbg_macro/dbg_macro.rs:18 :5
49
49
|
50
50
LL | dbg!(42);
51
51
| ^^^^^^^^
@@ -55,17 +55,6 @@ help: remove the invocation before committing it to a version control system
55
55
LL | 42;
56
56
| ~~
57
57
58
- error: the `dbg!` macro is intended as a debugging tool
59
- --> tests/ui-toml/dbg_macro/dbg_macro.rs:18:5
60
- |
61
- LL | dbg!(dbg!(dbg!(42)));
62
- | ^^^^^^^^^^^^^^^^^^^^
63
- |
64
- help: remove the invocation before committing it to a version control system
65
- |
66
- LL | dbg!(dbg!(42));
67
- | ~~~~~~~~~~~~~~
68
-
69
58
error: the `dbg!` macro is intended as a debugging tool
70
59
--> tests/ui-toml/dbg_macro/dbg_macro.rs:19:14
71
60
|
@@ -80,17 +69,6 @@ LL | foo(3) + factorial(4);
80
69
error: the `dbg!` macro is intended as a debugging tool
81
70
--> tests/ui-toml/dbg_macro/dbg_macro.rs:20:5
82
71
|
83
- LL | dbg!(1, 2, dbg!(3, 4));
84
- | ^^^^^^^^^^^^^^^^^^^^^^
85
- |
86
- help: remove the invocation before committing it to a version control system
87
- |
88
- LL | (1, 2, dbg!(3, 4));
89
- | ~~~~~~~~~~~~~~~~~~
90
-
91
- error: the `dbg!` macro is intended as a debugging tool
92
- --> tests/ui-toml/dbg_macro/dbg_macro.rs:21:5
93
- |
94
72
LL | dbg!(1, 2, 3, 4, 5);
95
73
| ^^^^^^^^^^^^^^^^^^^
96
74
|
@@ -99,5 +77,5 @@ help: remove the invocation before committing it to a version control system
99
77
LL | (1, 2, 3, 4, 5);
100
78
| ~~~~~~~~~~~~~~~
101
79
102
- error: aborting due to 9 previous errors
80
+ error: aborting due to 7 previous errors
103
81
0 commit comments