]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/or_fun_call.fixed
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / or_fun_call.fixed
index 896430780ea80918dca8fb2e4ac8f0e2e3254508..23b1aa8bebd53749cf05d23ce27ff7a4195b42d1 100644 (file)
@@ -225,4 +225,15 @@ mod issue8239 {
     }
 }
 
+mod issue9608 {
+    fn sig_drop() {
+        enum X {
+            X(std::fs::File),
+            Y(u32),
+        }
+
+        let _ = None.unwrap_or(X::Y(0));
+    }
+}
+
 fn main() {}