Fix : remove --crate-type=lib from pretty test

This commit is contained in:
Tim Neumann 2015-08-06 23:57:31 +02:00
parent c8f32769b8
commit f0ea2b66f3
12 changed files with 22 additions and 1 deletions

@ -315,7 +315,6 @@ actual:\n\
// FIXME (#9639): This needs to handle non-utf8 paths
let mut args = vec!("-".to_string(),
"-Zno-trans".to_string(),
"--crate-type=lib".to_string(),
format!("--target={}", target),
"-L".to_string(),
config.build_base.to_str().unwrap().to_string(),

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: --crate-type=lib
// pp-exact
fn f() -> [isize; 3] {
let picard = 0;

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: --crate-type=lib
// pp-exact
/***
More than two asterisks means that it isn't a doc comment.

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: --crate-type=lib
// pp-exact
fn f() {
/*

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: --crate-type=lib
// pp-exact
fn f() {
} /*

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: --crate-type=lib
// A bunch of tests for syntactic forms involving blocks that were
// previously ambiguous (e.g. 'if true { } *val;' gets parsed as a
// binop)

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: --crate-type=lib
// pp-exact
// some single-line non-doc comment

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: --crate-type=lib
trait X { fn dummy(&self) { } }
impl X for usize { }

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: --crate-type=lib
// Issue #759
// Whitespace under block opening should not expand forever

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: --crate-type=lib
// pp-exact
fn f(v: &[isize]) -> isize {

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: --crate-type=lib
// pp-exact
use std::io::{self, Error as IoError};

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: --crate-type=lib
// Preserve semicolons that disambiguate unops
fn f() { }