Use phase(plugin) in tests

This commit is contained in:
Keegan McAllister 2014-05-24 21:24:35 -07:00
parent 84243ed6e1
commit ed41b71fbe
42 changed files with 43 additions and 43 deletions

View File

@ -13,6 +13,6 @@
#![crate_type = "rlib"]
#![feature(phase)]
#[phase(syntax)] extern crate t1 = "issue-13560-1";
#[phase(syntax, link)] extern crate t2 = "issue-13560-2";
#[phase(plugin)] extern crate t1 = "issue-13560-1";
#[phase(plugin, link)] extern crate t2 = "issue-13560-2";

View File

@ -9,7 +9,7 @@
// except according to those terms.
#![feature(phase)]
#[phase(syntax, link)] extern crate log;
#[phase(plugin, link)] extern crate log;
extern crate debug;
pub fn foo<T>() {

View File

@ -17,7 +17,7 @@
#![feature(phase)]
#![crate_type = "rlib"]
#[phase(syntax, link)]
#[phase(plugin, link)]
extern crate core;
struct A;

View File

@ -11,7 +11,7 @@
// no-pretty-expanded
#![feature(phase)]
#[phase(syntax)] extern crate green;
#[phase(plugin)] extern crate green;
use std::string::String;
use std::fmt;

View File

@ -39,7 +39,7 @@
// OF THE POSSIBILITY OF SUCH DAMAGE.
#![feature(phase)]
#[phase(syntax)] extern crate green;
#[phase(plugin)] extern crate green;
extern crate sync;
use sync::Arc;

View File

@ -46,7 +46,7 @@
#![feature(macro_rules, phase)]
extern crate regex;
#[phase(syntax)]extern crate regex_macros;
#[phase(plugin)]extern crate regex_macros;
extern crate sync;
use std::io;

View File

@ -10,7 +10,7 @@
#![feature(phase)]
#![allow(non_snake_case_functions)]
#[phase(syntax)] extern crate green;
#[phase(plugin)] extern crate green;
extern crate sync;
use std::from_str::FromStr;

View File

@ -9,7 +9,7 @@
// except according to those terms.
#![feature(phase)]
#[phase(syntax)] extern crate green;
#[phase(plugin)] extern crate green;
green_start!(main)
fn start(n_tasks: int, token: int) {

View File

@ -11,7 +11,7 @@
// aux-build:macro_crate_test.rs
// ignore-stage1
#[phase(syntax)]
#[phase(plugin)]
//~^ ERROR compile time crate loading is experimental and possibly buggy
extern crate macro_crate_test;

View File

@ -14,7 +14,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate macro_crate_test;
fn main() {

View File

@ -10,7 +10,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate doesnt_exist; //~ ERROR can't find crate
fn main() {}

View File

@ -14,7 +14,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate macro_crate_test;
fn main() {

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate fourcc;
fn main() {

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate fourcc;
fn main() {

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate fourcc;
fn main() {

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate fourcc;
fn main() {

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate fourcc;
fn main() {

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate hexfloat;
fn main() {

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate hexfloat;
fn main() {

View File

@ -15,7 +15,7 @@
#![feature(phase)]
extern crate regex;
#[phase(syntax)] extern crate regex_macros;
#[phase(plugin)] extern crate regex_macros;
// Tests to make sure that `regex!` will produce a compile error when given
// an invalid regular expression.

View File

@ -15,7 +15,7 @@
#![feature(phase)]
extern crate regex;
#[phase(syntax)] extern crate regex_macros;
#[phase(plugin)] extern crate regex_macros;
#[deny(unused_variable)]
#[deny(dead_code)]

View File

@ -15,7 +15,7 @@
#![feature(phase)]
extern crate regex;
#[phase(syntax)] extern crate regex_macros;
#[phase(plugin)] extern crate regex_macros;
#[deny(unused_variable)]
#[deny(dead_code)]

View File

@ -11,7 +11,7 @@
// error-pattern:whatever
#![feature(phase)]
#[phase(syntax, link)] extern crate log;
#[phase(plugin, link)] extern crate log;
use std::os;
fn main() {

View File

@ -11,7 +11,7 @@
// error-pattern:whatever
#![feature(phase)]
#[phase(syntax, link)] extern crate log;
#[phase(plugin, link)] extern crate log;
use std::os;
use std::task;

View File

@ -11,7 +11,7 @@
// error-pattern:whatever
#![feature(phase)]
#[phase(syntax, link)] extern crate log;
#[phase(plugin, link)] extern crate log;
use std::os;
fn main() {

View File

@ -11,7 +11,7 @@
#![feature(phase)]
extern crate lib;
#[phase(syntax)] extern crate fourcc;
#[phase(plugin)] extern crate fourcc;
fn main() {
fourcc!("1234");

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate macro_crate_outlive_expansion_phase;
pub fn main() {}

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate macro_crate_test;
#[into_foo]

View File

@ -17,7 +17,7 @@
#![feature(phase)]
#[phase(syntax, link)]
#[phase(plugin, link)]
extern crate macro_crate_test;
fn main() {

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate fourcc;
static static_val: u32 = fourcc!("foo ");

View File

@ -12,7 +12,7 @@
// ignore-pretty
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate hexfloat;
pub fn main() {

View File

@ -14,7 +14,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate extension = "syntax-extension-with-dll-deps-2";
fn main() {

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax, link)]
#[phase(plugin, link)]
extern crate log;
extern crate native;

View File

@ -12,7 +12,7 @@
// exec-env:RUST_LOG=conditional-debug-macro-off=4
#![feature(phase)]
#[phase(syntax, link)]
#[phase(plugin, link)]
extern crate log;
extern crate debug;

View File

@ -10,7 +10,7 @@
#![feature(phase)]
#[phase(syntax, link)]
#[phase(plugin, link)]
extern crate green;
extern crate native;

View File

@ -12,7 +12,7 @@
// exec-env:RUST_LOG=logging-enabled-debug=debug
#![feature(phase)]
#[phase(syntax, link)]
#[phase(plugin, link)]
extern crate log;
pub fn main() {

View File

@ -11,7 +11,7 @@
// exec-env:RUST_LOG=logging-enabled=info
#![feature(phase)]
#[phase(syntax, link)]
#[phase(plugin, link)]
extern crate log;
pub fn main() {

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax, link)]
#[phase(plugin, link)]
extern crate log;
use std::io::Command;

View File

@ -12,7 +12,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate macro_crate_def_only;
pub fn main() {

View File

@ -13,7 +13,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
extern crate macro_export_inner_module;
pub fn main() {

View File

@ -11,7 +11,7 @@
#![feature(phase)]
#[phase(syntax)]
#[phase(plugin)]
use std::mem;
fn main() {}

View File

@ -13,7 +13,7 @@
// exec-env:RUST_LOG=debug
#![feature(phase)]
#[phase(syntax, link)]
#[phase(plugin, link)]
extern crate log;
extern crate libc;
extern crate green;