about summary refs log tree commit diff
path: root/src/librustc
diff options
context:
space:
mode:
authorBernardo Meurer <meurerbernardo@gmail.com>2018-08-22 16:52:01 -0300
committerBernardo Meurer <meurerbernardo@gmail.com>2018-08-23 08:51:44 -0700
commit22beeb4cab4943b055625b71a5b7b8339ee38b3d (patch)
tree7a774dd595135fd7032a9e070540a984b9d9b0f2 /src/librustc
parent65544e51098c01c7fdd53a541a387382bacfc537 (diff)
downloadrust-22beeb4cab4943b055625b71a5b7b8339ee38b3d.tar.gz
rust-22beeb4cab4943b055625b71a5b7b8339ee38b3d.zip
Add license header to CTFE/MIRI
Diffstat (limited to 'src/librustc')
-rw-r--r--src/librustc/mir/interpret/error.rs10
-rw-r--r--src/librustc/mir/interpret/mod.rs10
-rw-r--r--src/librustc/mir/interpret/value.rs10
3 files changed, 30 insertions, 0 deletions
diff --git a/src/librustc/mir/interpret/error.rs b/src/librustc/mir/interpret/error.rs
index 436478b8416..ac114e0c725 100644
--- a/src/librustc/mir/interpret/error.rs
+++ b/src/librustc/mir/interpret/error.rs
@@ -1,3 +1,13 @@
+// Copyright 2018 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::{fmt, env};
 
 use mir;
diff --git a/src/librustc/mir/interpret/mod.rs b/src/librustc/mir/interpret/mod.rs
index ca664c6e18b..93cc5fe492f 100644
--- a/src/librustc/mir/interpret/mod.rs
+++ b/src/librustc/mir/interpret/mod.rs
@@ -1,3 +1,13 @@
+// Copyright 2018 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.
+
 //! An interpreter for MIR used in CTFE and by miri
 
 #[macro_export]
diff --git a/src/librustc/mir/interpret/value.rs b/src/librustc/mir/interpret/value.rs
index b142de81c1e..6b34e3f47cc 100644
--- a/src/librustc/mir/interpret/value.rs
+++ b/src/librustc/mir/interpret/value.rs
@@ -1,3 +1,13 @@
+// Copyright 2018 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(unknown_lints)]
 
 use ty::layout::{HasDataLayout, Size};