Skip to content

Commit 4dcd4da

Browse files
committed
---
yaml --- r: 226833 b: refs/heads/master c: f0ea2b6 h: refs/heads/master i: 226831: 0bb13cb v: v3
1 parent a21eb93 commit 4dcd4da

13 files changed

+23
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: c8f32769b80ca33c4c93f9083202cc2078e806b1
2+
refs/heads/master: f0ea2b66f366bd2a4f9442c92552762a355a04c4
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/src/compiletest/runtest.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ actual:\n\
315315
// FIXME (#9639): This needs to handle non-utf8 paths
316316
let mut args = vec!("-".to_string(),
317317
"-Zno-trans".to_string(),
318-
"--crate-type=lib".to_string(),
319318
format!("--target={}", target),
320319
"-L".to_string(),
321320
config.build_base.to_str().unwrap().to_string(),

trunk/src/test/pretty/blank-lines.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: --crate-type=lib
12+
1113
// pp-exact
1214
fn f() -> [isize; 3] {
1315
let picard = 0;

trunk/src/test/pretty/block-comment-multiple-asterisks.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: --crate-type=lib
12+
1113
// pp-exact
1214
/***
1315
More than two asterisks means that it isn't a doc comment.

trunk/src/test/pretty/block-comment-trailing-whitespace.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: --crate-type=lib
12+
1113
// pp-exact
1214
fn f() {
1315
/*

trunk/src/test/pretty/block-comment-trailing-whitespace2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: --crate-type=lib
12+
1113
// pp-exact
1214
fn f() {
1315
} /*

trunk/src/test/pretty/block-disambig.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: --crate-type=lib
12+
1113
// A bunch of tests for syntactic forms involving blocks that were
1214
// previously ambiguous (e.g. 'if true { } *val;' gets parsed as a
1315
// binop)

trunk/src/test/pretty/doc-comments.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: --crate-type=lib
12+
1113
// pp-exact
1214

1315
// some single-line non-doc comment

trunk/src/test/pretty/empty-impl.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: --crate-type=lib
12+
1113
trait X { fn dummy(&self) { } }
1214
impl X for usize { }
1315

trunk/src/test/pretty/empty-lines.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: --crate-type=lib
12+
1113
// Issue #759
1214
// Whitespace under block opening should not expand forever
1315

trunk/src/test/pretty/for-comment.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: --crate-type=lib
12+
1113
// pp-exact
1214

1315
fn f(v: &[isize]) -> isize {

trunk/src/test/pretty/import-renames.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: --crate-type=lib
12+
1113
// pp-exact
1214

1315
use std::io::{self, Error as IoError};

trunk/src/test/pretty/unary-op-disambig.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: --crate-type=lib
12+
1113
// Preserve semicolons that disambiguate unops
1214

1315
fn f() { }

0 commit comments

Comments
 (0)