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.
1 parent 0ff3f64 commit e7155a4Copy full SHA for e7155a4
tests/ui/option_option.rs
@@ -1,7 +1,7 @@
1
//@compile-flags: -Zdeduplicate-diagnostics=yes
2
3
#![deny(clippy::option_option)]
4
-#![allow(clippy::unnecessary_wraps)]
+#![allow(clippy::unnecessary_wraps, clippy::match_option_and_default)]
5
6
const C: Option<Option<i32>> = None;
7
//~^ ERROR: consider using `Option<T>` instead of `Option<Option<T>>` or a custom enum if
0 commit comments