]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/match_wild_err_arm.rs
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / match_wild_err_arm.rs
index 010cb7e03015e90d099bf11a3fa78cc6f571c9b4..823be65efe065703b8481ced833636d15b245373 100644 (file)
@@ -1,12 +1,10 @@
-//edition:2015
-//FIXME: The lint only triggers once on edition 2021, so I'm leaving this at 2015 for now.
-
 #![feature(exclusive_range_pattern)]
 #![allow(clippy::match_same_arms)]
 #![warn(clippy::match_wild_err_arm)]
 
 fn match_wild_err_arm() {
     let x: Result<i32, &str> = Ok(3);
+
     match x {
         Ok(3) => println!("ok"),
         Ok(_) => println!("ok"),