]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/excessive_precision.rs
iterate List by value
[rust.git] / tests / ui / excessive_precision.rs
index 59b252a3a80a9b013d0bb19396fa9adcf4871573..ce4722a90f9002edd571d1d2123861905f5726c3 100644 (file)
@@ -1,14 +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
 #![warn(clippy::excessive_precision)]
-#![allow(clippy::print_literal)]
+#![allow(dead_code, unused_variables, clippy::print_literal)]
 
 fn main() {
     // Consts