Skip to content

Commit fcbb3dd

Browse files
committedJul 17, 2018
Fixed the test to match the compiler's output.
1 parent c477ff1 commit fcbb3dd

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed
 

Diff for: ‎src/test/pretty/issue_12590_c.pp

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#![feature(prelude_import)]
2+
#![no_std]
3+
#[prelude_import]
4+
use std::prelude::v1::*;
5+
#[macro_use]
6+
extern crate std;
17
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
28
// file at the top-level directory of this distribution and at
39
// http://rust-lang.org/COPYRIGHT.
@@ -8,17 +14,15 @@
814
// option. This file may not be copied, modified, or distributed
915
// except according to those terms.
1016

11-
// pp-exact:issue_12590_c.pp
17+
// pretty-compare-only
1218
// pretty-mode:expanded
19+
// pp-exact:issue_12590_c.pp
1320

1421
// The next line should be expanded
1522

1623
mod issue_12590_b {
1724

18-
19-
fn b() { }
20-
21-
fn main() { }
25+
fn b() { }
26+
fn main() { }
2227
}
23-
2428
fn main() { }

0 commit comments

Comments
 (0)