11error: 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
33 |
44LL | if let Some(n) = dbg!(n.checked_sub(4)) { n } else { n }
55 | ^^^^^^^^^^^^^^^^^^^^^^
@@ -12,7 +12,7 @@ LL | if let Some(n) = n.checked_sub(4) { n } else { n }
1212 | ~~~~~~~~~~~~~~~~
1313
1414error: 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
1616 |
1717LL | if dbg!(n <= 1) {
1818 | ^^^^^^^^^^^^
@@ -23,7 +23,7 @@ LL | if n <= 1 {
2323 | ~~~~~~
2424
2525error: 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
2727 |
2828LL | dbg!(1)
2929 | ^^^^^^^
3434 |
3535
3636error: 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
3838 |
3939LL | dbg!(n * factorial(n - 1))
4040 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -45,7 +45,7 @@ LL | n * factorial(n - 1)
4545 |
4646
4747error: 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
4949 |
5050LL | dbg!(42);
5151 | ^^^^^^^^
@@ -55,17 +55,6 @@ help: remove the invocation before committing it to a version control system
5555LL | 42;
5656 | ~~
5757
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-
6958error: the `dbg!` macro is intended as a debugging tool
7059 --> tests/ui-toml/dbg_macro/dbg_macro.rs:19:14
7160 |
@@ -80,17 +69,6 @@ LL | foo(3) + factorial(4);
8069error: the `dbg!` macro is intended as a debugging tool
8170 --> tests/ui-toml/dbg_macro/dbg_macro.rs:20:5
8271 |
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- |
9472LL | dbg!(1, 2, 3, 4, 5);
9573 | ^^^^^^^^^^^^^^^^^^^
9674 |
@@ -99,5 +77,5 @@ help: remove the invocation before committing it to a version control system
9977LL | (1, 2, 3, 4, 5);
10078 | ~~~~~~~~~~~~~~~
10179
102- error: aborting due to 9 previous errors
80+ error: aborting due to 7 previous errors
10381
0 commit comments