Skip to content

Commit 91d8ebf

Browse files
Update ui test
1 parent c97230c commit 91d8ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/option_option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@compile-flags: -Zdeduplicate-diagnostics=yes
22

33
#![deny(clippy::option_option)]
4-
#![allow(clippy::unnecessary_wraps)]
4+
#![allow(clippy::unnecessary_wraps, clippy::match_option_and_default)]
55

66
const C: Option<Option<i32>> = None;
77
//~^ ERROR: consider using `Option<T>` instead of `Option<Option<T>>` or a custom enum if

0 commit comments

Comments
 (0)