File tree 12 files changed +22
-1
lines changed
12 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,6 @@ actual:\n\
315
315
// FIXME (#9639): This needs to handle non-utf8 paths
316
316
let mut args = vec ! ( "-" . to_string( ) ,
317
317
"-Zno-trans" . to_string( ) ,
318
- "--crate-type=lib" . to_string( ) ,
319
318
format!( "--target={}" , target) ,
320
319
"-L" . to_string( ) ,
321
320
config. build_base. to_str( ) . unwrap( ) . to_string( ) ,
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // compile-flags: --crate-type=lib
12
+
11
13
// pp-exact
12
14
fn f ( ) -> [ isize ; 3 ] {
13
15
let picard = 0 ;
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // compile-flags: --crate-type=lib
12
+
11
13
// pp-exact
12
14
/***
13
15
More than two asterisks means that it isn't a doc comment.
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // compile-flags: --crate-type=lib
12
+
11
13
// pp-exact
12
14
fn f ( ) {
13
15
/*
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // compile-flags: --crate-type=lib
12
+
11
13
// pp-exact
12
14
fn f ( ) {
13
15
} /*
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // compile-flags: --crate-type=lib
12
+
11
13
// A bunch of tests for syntactic forms involving blocks that were
12
14
// previously ambiguous (e.g. 'if true { } *val;' gets parsed as a
13
15
// binop)
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // compile-flags: --crate-type=lib
12
+
11
13
// pp-exact
12
14
13
15
// some single-line non-doc comment
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // compile-flags: --crate-type=lib
12
+
11
13
trait X { fn dummy ( & self ) { } }
12
14
impl X for usize { }
13
15
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // compile-flags: --crate-type=lib
12
+
11
13
// Issue #759
12
14
// Whitespace under block opening should not expand forever
13
15
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // compile-flags: --crate-type=lib
12
+
11
13
// pp-exact
12
14
13
15
fn f ( v : & [ isize ] ) -> isize {
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // compile-flags: --crate-type=lib
12
+
11
13
// pp-exact
12
14
13
15
use std:: io:: { self , Error as IoError } ;
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // compile-flags: --crate-type=lib
12
+
11
13
// Preserve semicolons that disambiguate unops
12
14
13
15
fn f ( ) { }
You can’t perform that action at this time.
0 commit comments