We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dbg!()
rustup::test
1 parent a8cab33 commit cd8356bCopy full SHA for cd8356b
src/test.rs
@@ -1,4 +1,9 @@
1
-#![allow(clippy::box_default, clippy::print_stdout, clippy::print_stderr)]
+#![allow(
2
+ clippy::box_default,
3
+ clippy::print_stdout,
4
+ clippy::print_stderr,
5
+ clippy::dbg_macro
6
+)]
7
//! Test support module; public to permit use from integration tests.
8
9
pub mod mock;
src/test/mock/clitools.rs
@@ -668,11 +668,8 @@ impl Config {
668
println!("expected.ok: true");
669
print_indented("expected.stdout", stdout);
670
print_indented("expected.stderr", stderr);
671
- #[allow(clippy::dbg_macro)]
672
- {
673
- dbg!(out.stdout == stdout);
674
- dbg!(out.stderr == stderr);
675
- }
+ dbg!(out.stdout == stdout);
+ dbg!(out.stderr == stderr);
676
panic!();
677
}
678
0 commit comments