]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/option_if_let_else.fixed
Merge remote-tracking branch 'upstream/master' into rustup
[rust.git] / tests / ui / option_if_let_else.fixed
index a7fb00a270577d64f9e3c9fa24cb2b96f6ffba38..47e7460fa7a44d4a11f38119d9c2a118d7075d0f 100644 (file)
@@ -1,6 +1,7 @@
 // run-rustfix
 #![warn(clippy::option_if_let_else)]
 #![allow(clippy::redundant_closure)]
+#![allow(clippy::ref_option_ref)]
 
 fn bad1(string: Option<&str>) -> (bool, &str) {
     string.map_or((false, "hello"), |x| (true, x))