Skip to content

Commit

Permalink
Update ui test
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Mar 8, 2024
1 parent 8e78814 commit c1863a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/option_option.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//@compile-flags: -Zdeduplicate-diagnostics=yes

#![deny(clippy::option_option)]
#![allow(clippy::unnecessary_wraps)]
#![allow(clippy::unnecessary_wraps, clippy::match_option_and_default)]

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

0 comments on commit c1863a9

Please sign in to comment.