]> git.lizzy.rs Git - rust.git/commitdiff
Add missing licenses
authorbjorn3 <bjorn3@users.noreply.github.com>
Thu, 4 Jan 2018 17:26:34 +0000 (18:26 +0100)
committerbjorn3 <bjorn3@users.noreply.github.com>
Fri, 19 Jan 2018 19:27:36 +0000 (20:27 +0100)
src/test/run-make/hotplug_codegen_backend/some_crate.rs
src/test/run-make/hotplug_codegen_backend/the_backend.rs

index 7d01978dcee9c3b7d6cadc7ad34678b0c004c61d..26ffce01b2e2c0516f319e9527829e6a904793e8 100644 (file)
@@ -1,3 +1,13 @@
+// Copyright 2017 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.
+
 fn main() {
     ::std::process::exit(1);
 }
index 8200658b1f1c878e17b4bc0a55a783a7b4cce02b..fc06737e0e97b332b17bff598f421e663ad62652 100644 (file)
@@ -1,3 +1,13 @@
+// Copyright 2017 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(rustc_private)]
 
 extern crate syntax;
@@ -36,7 +46,7 @@ fn trans_crate<'a, 'tcx>(
         _rx: mpsc::Receiver<Box<Any + Send>>
     ) -> Box<Any> {
         use rustc::hir::def_id::LOCAL_CRATE;
-        
+
         Box::new(tcx.crate_name(LOCAL_CRATE) as Symbol)
     }