]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/fxhash.rs
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / fxhash.rs
index c6ed9436a51efe5f1318b0594943b0c4d87bf53f..2299714132f5fdc068b1d518eaa29e8c6ea129db 100644 (file)
@@ -1,10 +1,19 @@
-#![warn(default_hash_types)]
+// 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.
+
+#![warn(clippy::default_hash_types)]
 #![feature(rustc_private)]
 
 extern crate rustc_data_structures;
 
-use std::collections::{HashMap, HashSet};
 use rustc_data_structures::fx::{FxHashMap, FxHashSet};
+use std::collections::{HashMap, HashSet};
 
 fn main() {
     let _map: HashMap<String, String> = HashMap::default();