From 65ccffd22451d7d9aee762874afcb1fda0a4a4f0 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 8 Apr 2015 18:53:56 -0400 Subject: Add licenses. --- src/librustc_data_structures/bitvec.rs | 10 ++++++++++ src/librustc_data_structures/graph/test.rs | 10 ++++++++++ src/librustc_data_structures/lib.rs | 2 +- src/librustc_data_structures/unify/test.rs | 10 ++++++++++ 4 files changed, 31 insertions(+), 1 deletion(-) (limited to 'src/librustc_data_structures') 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 or the MIT license +// , 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 or the MIT license +// , 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + #![allow(non_snake_case)] extern crate test; -- cgit 1.4.1-3-g733a5