]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/infallible_destructuring_match.rs
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / infallible_destructuring_match.rs
index 37ae19497d18cc6577b5bc5396beb6678d238140..a4823ad60ad3dc9496a155bb7a16c7e71c3b1541 100644 (file)
@@ -1,13 +1,6 @@
-// Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
+// run-rustfix
 #![feature(exhaustive_patterns, never_type)]
+#![allow(dead_code, unreachable_code, unused_variables)]
 #![allow(clippy::let_and_return)]
 
 enum SingleVariantEnum {