Auto merge of #52256 - tinco:issue_52255, r=sanxiyn
make pretty source comparison check be fatal (fixes #52255) This is not ready for merging because it reveals (at least) two regressions in the pretty suite. Should I attempt to fix those in this PR also?
This commit is contained in:
commit
6cc42a4488
4 changed files with 5 additions and 8 deletions
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
|
|
@ -19,4 +19,3 @@ macro_rules! negative {
|
|||
fn main() {
|
||||
negative!(1 as i32);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue