about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Turner <jturner@mozilla.com>2016-05-24 10:57:44 -0400
committerJonathan Turner <jturner@mozilla.com>2016-05-24 10:57:44 -0400
commitdf87a781de531b0578cfe6c9e0a6cb624951f67c (patch)
tree7fd803317aaeded37d79291be35cc23418742247
parent00b78d0d6ad5985a29d9b1b001e81dbb1bf624b6 (diff)
downloadrust-df87a781de531b0578cfe6c9e0a6cb624951f67c.tar.gz
rust-df87a781de531b0578cfe6c9e0a6cb624951f67c.zip
Satisfy tidy
-rw-r--r--src/test/compile-fail/issue-33819.rs9
-rw-r--r--src/test/ui/mismatched_types/issue-26480.rs2
2 files changed, 10 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-33819.rs b/src/test/compile-fail/issue-33819.rs
index 418e66dbd4d..9c9677c1e98 100644
--- a/src/test/compile-fail/issue-33819.rs
+++ b/src/test/compile-fail/issue-33819.rs
@@ -1,3 +1,12 @@
+// Copyright 2016 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() {
     let mut op = Some(2);
     match op {
diff --git a/src/test/ui/mismatched_types/issue-26480.rs b/src/test/ui/mismatched_types/issue-26480.rs
index 516d92372e7..96db31f4b11 100644
--- a/src/test/ui/mismatched_types/issue-26480.rs
+++ b/src/test/ui/mismatched_types/issue-26480.rs
@@ -30,7 +30,7 @@ macro_rules! write {
 }
 
 macro_rules! cast {
-    ($x:expr) => ($x as ()) 
+    ($x:expr) => ($x as ())
 }
 
 fn main() {