]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/manual_ok_or.rs
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / manual_ok_or.rs
index e5a6056fbf5cc40ba9cb089d663e1ca81b3186db..6264768460ef60539e1379f1dbc28c16af415b7d 100644 (file)
@@ -1,6 +1,6 @@
 // run-rustfix
 #![warn(clippy::manual_ok_or)]
-#![allow(clippy::blacklisted_name)]
+#![allow(clippy::disallowed_names)]
 #![allow(clippy::redundant_closure)]
 #![allow(dead_code)]
 #![allow(unused_must_use)]
@@ -32,7 +32,7 @@ fn main() {
     // not applicable, or side isn't `Result::Err`
     foo.map_or(Ok::<i32, &str>(1), |v| Ok(v));
 
-    // not applicatble, expr is not a `Result` value
+    // not applicable, expr is not a `Result` value
     foo.map_or(42, |v| v);
 
     // TODO patterns not covered yet