]> git.lizzy.rs Git - rust.git/commitdiff
Add licenses.
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 8 Apr 2015 22:53:56 +0000 (18:53 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Fri, 17 Apr 2015 14:12:55 +0000 (10:12 -0400)
src/librustc_data_structures/bitvec.rs
src/librustc_data_structures/graph/test.rs
src/librustc_data_structures/lib.rs
src/librustc_data_structures/unify/test.rs

index f5924ef5a3f637e74ce4eb8d959d06c2ff48140f..983601771a02f6809e7b30df6f243047dcb15025 100644 (file)
@@ -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.
index a26d1d2fbd9e4fbd2502173f9f590b76e2683d6e..33b2edd2e106d22ec0dd98f4b17a7067dc38f43f 100644 (file)
@@ -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;
 
index 6562a7488984cfae1481cb84ff01f8574471294b..dc376deebc113f941ff3cfd08a2cf76f05e1b04c 100644 (file)
@@ -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
index d662842a37afda44fce4ec0ab7d933416002c632..dbe3cfc7a48a9b2e7c7f749a1f7c5f0f7d77adcb 100644 (file)
@@ -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;