fix expected output of pretty/cast-lt and issue-4264 tests

This commit is contained in:
Tinco Andringa 2018-07-12 01:16:27 +02:00
parent f0b1a781ac
commit b96deed121
3 changed files with 2 additions and 4 deletions

View file

@ -3,7 +3,7 @@
#[prelude_import] #[prelude_import]
use std::prelude::v1::*; use std::prelude::v1::*;
#[macro_use] #[macro_use]
extern crate std as std; extern crate std;
// Copyright 2017 The Rust Project Developers. See the COPYRIGHT // Copyright 2017 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at // file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT. // http://rust-lang.org/COPYRIGHT.
@ -21,4 +21,3 @@ extern crate std as std;
macro_rules! negative(( $ e : expr ) => { $ e < 0 }); macro_rules! negative(( $ e : expr ) => { $ e < 0 });
fn main() { (1 as i32) < 0; } fn main() { (1 as i32) < 0; }

View file

@ -19,4 +19,3 @@ macro_rules! negative {
fn main() { fn main() {
negative!(1 as i32); negative!(1 as i32);
} }

View file

@ -1,7 +1,7 @@
#[prelude_import] #[prelude_import]
use std::prelude::v1::*; use std::prelude::v1::*;
#[macro_use] #[macro_use]
extern crate std as std; extern crate std;
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at // file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT. // http://rust-lang.org/COPYRIGHT.