about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-04-08 18:53:56 -0400
committerNiko Matsakis <niko@alum.mit.edu>2015-04-17 10:12:55 -0400
commit65ccffd22451d7d9aee762874afcb1fda0a4a4f0 (patch)
tree16d7ec0f3430db467b75721d81e123c49784b4d7
parent416f388c6f567dfd2c009a36907447c9646100e5 (diff)
downloadrust-65ccffd22451d7d9aee762874afcb1fda0a4a4f0.tar.gz
rust-65ccffd22451d7d9aee762874afcb1fda0a4a4f0.zip
Add licenses.
-rw-r--r--src/librustc_data_structures/bitvec.rs10
-rw-r--r--src/librustc_data_structures/graph/test.rs10
-rw-r--r--src/librustc_data_structures/lib.rs2
-rw-r--r--src/librustc_data_structures/unify/test.rs10
4 files changed, 31 insertions, 1 deletions
diff --git a/src/librustc_data_structures/bitvec.rs b/src/librustc_data_structures/bitvec.rs
index f5924ef5a3f..983601771a0 100644
--- a/src/librustc_data_structures/bitvec.rs
+++ b/src/librustc_data_structures/bitvec.rs
@@ -1,3 +1,13 @@
+// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// 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.
+
 use std::iter;
 
 /// A very simple BitVector type.
diff --git a/src/librustc_data_structures/graph/test.rs b/src/librustc_data_structures/graph/test.rs
index a26d1d2fbd9..33b2edd2e10 100644
--- a/src/librustc_data_structures/graph/test.rs
+++ b/src/librustc_data_structures/graph/test.rs
@@ -1,3 +1,13 @@
+// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// 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.
+
 use graph::*;
 use std::fmt::Debug;
 
diff --git a/src/librustc_data_structures/lib.rs b/src/librustc_data_structures/lib.rs
index 6562a748898..dc376deebc1 100644
--- a/src/librustc_data_structures/lib.rs
+++ b/src/librustc_data_structures/lib.rs
@@ -27,7 +27,7 @@
       html_root_url = "http://doc.rust-lang.org/nightly/")]
 
 #![feature(rustc_private)]
-#![feature(test)]
+#![cfg_attr(test, feature(test))]
 
 #[macro_use] extern crate log;
 extern crate serialize as rustc_serialize; // used by deriving
diff --git a/src/librustc_data_structures/unify/test.rs b/src/librustc_data_structures/unify/test.rs
index d662842a37a..dbe3cfc7a48 100644
--- a/src/librustc_data_structures/unify/test.rs
+++ b/src/librustc_data_structures/unify/test.rs
@@ -1,3 +1,13 @@
+// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// 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.
+
 #![allow(non_snake_case)]
 
 extern crate test;