fix expected output of pretty/cast-lt and issue-4264 tests
This commit is contained in:
parent
f0b1a781ac
commit
b96deed121
3 changed files with 2 additions and 4 deletions
|
@ -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; }
|
||||||
|
|
||||||
|
|
|
@ -19,4 +19,3 @@ macro_rules! negative {
|
||||||
fn main() {
|
fn main() {
|
||||||
negative!(1 as i32);
|
negative!(1 as i32);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue