Skip to content

Commit ed41b71

Browse files
author
Keegan McAllister
committed
Use phase(plugin) in tests
1 parent 84243ed commit ed41b71

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+43
-43
lines changed

src/test/auxiliary/issue-13560-3.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
#![crate_type = "rlib"]
1414
#![feature(phase)]
1515

16-
#[phase(syntax)] extern crate t1 = "issue-13560-1";
17-
#[phase(syntax, link)] extern crate t2 = "issue-13560-2";
16+
#[phase(plugin)] extern crate t1 = "issue-13560-1";
17+
#[phase(plugin, link)] extern crate t2 = "issue-13560-2";
1818

src/test/auxiliary/logging_right_crate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
#![feature(phase)]
12-
#[phase(syntax, link)] extern crate log;
12+
#[phase(plugin, link)] extern crate log;
1313
extern crate debug;
1414

1515
pub fn foo<T>() {

src/test/auxiliary/weak-lang-items.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#![feature(phase)]
1818
#![crate_type = "rlib"]
1919

20-
#[phase(syntax, link)]
20+
#[phase(plugin, link)]
2121
extern crate core;
2222

2323
struct A;

src/test/bench/shootout-chameneos-redux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// no-pretty-expanded
1212

1313
#![feature(phase)]
14-
#[phase(syntax)] extern crate green;
14+
#[phase(plugin)] extern crate green;
1515

1616
use std::string::String;
1717
use std::fmt;

src/test/bench/shootout-meteor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
// OF THE POSSIBILITY OF SUCH DAMAGE.
4040

4141
#![feature(phase)]
42-
#[phase(syntax)] extern crate green;
42+
#[phase(plugin)] extern crate green;
4343
extern crate sync;
4444

4545
use sync::Arc;

src/test/bench/shootout-regex-dna.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#![feature(macro_rules, phase)]
4747

4848
extern crate regex;
49-
#[phase(syntax)]extern crate regex_macros;
49+
#[phase(plugin)]extern crate regex_macros;
5050
extern crate sync;
5151

5252
use std::io;

src/test/bench/shootout-spectralnorm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#![feature(phase)]
1212
#![allow(non_snake_case_functions)]
13-
#[phase(syntax)] extern crate green;
13+
#[phase(plugin)] extern crate green;
1414
extern crate sync;
1515

1616
use std::from_str::FromStr;

src/test/bench/shootout-threadring.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
#![feature(phase)]
12-
#[phase(syntax)] extern crate green;
12+
#[phase(plugin)] extern crate green;
1313
green_start!(main)
1414

1515
fn start(n_tasks: int, token: int) {

src/test/compile-fail-fulldeps/gated-phase.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// aux-build:macro_crate_test.rs
1212
// ignore-stage1
1313

14-
#[phase(syntax)]
14+
#[phase(plugin)]
1515
//~^ ERROR compile time crate loading is experimental and possibly buggy
1616
extern crate macro_crate_test;
1717

src/test/compile-fail-fulldeps/macro-crate-unexported-macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#![feature(phase)]
1616

17-
#[phase(syntax)]
17+
#[phase(plugin)]
1818
extern crate macro_crate_test;
1919

2020
fn main() {

0 commit comments

Comments
 (0)