diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-12-29 14:38:16 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-12-30 09:36:23 -0500 |
| commit | c1bc150bc43de8f8895c9d87dddf9b915eddbb2e (patch) | |
| tree | 21cd6850e85dba018b0bdd8aaa955a0455f02e09 | |
| parent | 7ed0e2320975a00c3a61cef72d56c5fae8f3c608 (diff) | |
| download | rust-c1bc150bc43de8f8895c9d87dddf9b915eddbb2e.tar.gz rust-c1bc150bc43de8f8895c9d87dddf9b915eddbb2e.zip | |
Correct licenses.
| -rw-r--r-- | src/librustc_typeck/check/assoc.rs | 1 | ||||
| -rw-r--r-- | src/test/compile-fail/associated-types-no-suitable-supertrait.rs | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/librustc_typeck/check/assoc.rs b/src/librustc_typeck/check/assoc.rs index b59f9291e4f..c20dd5aebad 100644 --- a/src/librustc_typeck/check/assoc.rs +++ b/src/librustc_typeck/check/assoc.rs @@ -1,6 +1,5 @@ // Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at -// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or diff --git a/src/test/compile-fail/associated-types-no-suitable-supertrait.rs b/src/test/compile-fail/associated-types-no-suitable-supertrait.rs index c4110a6946d..5a4ebeac41e 100644 --- a/src/test/compile-fail/associated-types-no-suitable-supertrait.rs +++ b/src/test/compile-fail/associated-types-no-suitable-supertrait.rs @@ -1,3 +1,13 @@ +// Copyright 2014 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. + #![feature(associated_types)] // Check that we get an error when you use `<Self as Get>::Value` in |
