about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTinco Andringa <mail@tinco.nl>2018-07-12 01:16:27 +0200
committerTinco Andringa <mail@tinco.nl>2018-07-12 01:19:27 +0200
commitb96deed121bae7f753ddcf11d419abd3962d39b5 (patch)
tree165acfb658065cf758c6c75d0c82da307607b348
parentf0b1a781acebee0f3783377603cead74c9c7c2f5 (diff)
downloadrust-b96deed121bae7f753ddcf11d419abd3962d39b5.tar.gz
rust-b96deed121bae7f753ddcf11d419abd3962d39b5.zip
fix expected output of pretty/cast-lt and issue-4264 tests
-rw-r--r--src/test/pretty/cast-lt.pp3
-rw-r--r--src/test/pretty/cast-lt.rs1
-rw-r--r--src/test/pretty/issue-4264.pp2
3 files changed, 2 insertions, 4 deletions
diff --git a/src/test/pretty/cast-lt.pp b/src/test/pretty/cast-lt.pp
index b21158abfe5..f1b4b4f5a0c 100644
--- a/src/test/pretty/cast-lt.pp
+++ b/src/test/pretty/cast-lt.pp
@@ -3,7 +3,7 @@
 #[prelude_import]
 use std::prelude::v1::*;
 #[macro_use]
-extern crate std as std;
+extern crate std;
 // 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.
@@ -21,4 +21,3 @@ extern crate std as std;
 macro_rules! negative(( $ e : expr ) => { $ e < 0 });
 
 fn main() { (1 as i32) < 0; }
-
diff --git a/src/test/pretty/cast-lt.rs b/src/test/pretty/cast-lt.rs
index 87b5274545f..ca4c364c631 100644
--- a/src/test/pretty/cast-lt.rs
+++ b/src/test/pretty/cast-lt.rs
@@ -19,4 +19,3 @@ macro_rules! negative {
 fn main() {
       negative!(1 as i32);
 }
-
diff --git a/src/test/pretty/issue-4264.pp b/src/test/pretty/issue-4264.pp
index 81518b0b872..a4380d9212f 100644
--- a/src/test/pretty/issue-4264.pp
+++ b/src/test/pretty/issue-4264.pp
@@ -1,7 +1,7 @@
 #[prelude_import]
 use std::prelude::v1::*;
 #[macro_use]
-extern crate std as std;
+extern crate std;
 // 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.