Skip to content

Commit 87f3752

Browse files
author
Keegan McAllister
committed
---
yaml --- r: 152398 b: refs/heads/try2 c: 84243ed h: refs/heads/master v: v3
1 parent dc9055b commit 87f3752

File tree

10 files changed

+34
-34
lines changed

10 files changed

+34
-34
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: ffb2f12ed89213f96561dfbece0751ac870e2c40
8+
refs/heads/try2: 84243ed6e18643c277724a868e3f11b4137fe3bc
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4098,7 +4098,7 @@ that demonstrates all four of them:
40984098

40994099
~~~~
41004100
#![feature(phase)]
4101-
#[phase(syntax, link)] extern crate log;
4101+
#[phase(plugin, link)] extern crate log;
41024102
41034103
fn main() {
41044104
error!("This is an error log")

branches/try2/src/libfourcc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ to be `big`, i.e. left-to-right order. It returns a u32.
2222
To load the extension and use it:
2323
2424
```rust,ignore
25-
#[phase(syntax)]
25+
#[phase(plugin)]
2626
extern crate fourcc;
2727
2828
fn main() {

branches/try2/src/libgreen/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
//!
149149
//! ```
150150
//! #![feature(phase)]
151-
//! #[phase(syntax)] extern crate green;
151+
//! #[phase(plugin)] extern crate green;
152152
//!
153153
//! green_start!(main)
154154
//!
@@ -211,7 +211,7 @@
211211
#![allow(visible_private_types)]
212212
#![deny(deprecated_owned_vector)]
213213

214-
#[cfg(test)] #[phase(syntax, link)] extern crate log;
214+
#[cfg(test)] #[phase(plugin, link)] extern crate log;
215215
#[cfg(test)] extern crate rustuv;
216216
extern crate libc;
217217
extern crate alloc;
@@ -249,7 +249,7 @@ pub mod task;
249249
///
250250
/// ```
251251
/// #![feature(phase)]
252-
/// #[phase(syntax)] extern crate green;
252+
/// #[phase(plugin)] extern crate green;
253253
///
254254
/// green_start!(main)
255255
///

branches/try2/src/libhexfloat/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ literal.
2121
To load the extension and use it:
2222
2323
```rust,ignore
24-
#[phase(syntax)]
24+
#[phase(plugin)]
2525
extern crate hexfloat;
2626
2727
fn main() {

branches/try2/src/liblog/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Utilities for program-wide and customizable logging
1616
1717
```
1818
#![feature(phase)]
19-
#[phase(syntax, link)] extern crate log;
19+
#[phase(plugin, link)] extern crate log;
2020
2121
fn main() {
2222
debug!("this is a debug {}", "message");

branches/try2/src/liblog/macros.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
///
2323
/// ```
2424
/// #![feature(phase)]
25-
/// #[phase(syntax, link)] extern crate log;
25+
/// #[phase(plugin, link)] extern crate log;
2626
///
2727
/// # fn main() {
2828
/// log!(log::DEBUG, "this is a debug message");
@@ -51,7 +51,7 @@ macro_rules! log(
5151
///
5252
/// ```
5353
/// #![feature(phase)]
54-
/// #[phase(syntax, link)] extern crate log;
54+
/// #[phase(plugin, link)] extern crate log;
5555
///
5656
/// # fn main() {
5757
/// # let error = 3;
@@ -69,7 +69,7 @@ macro_rules! error(
6969
///
7070
/// ```
7171
/// #![feature(phase)]
72-
/// #[phase(syntax, link)] extern crate log;
72+
/// #[phase(plugin, link)] extern crate log;
7373
///
7474
/// # fn main() {
7575
/// # let code = 3;
@@ -87,7 +87,7 @@ macro_rules! warn(
8787
///
8888
/// ```
8989
/// #![feature(phase)]
90-
/// #[phase(syntax, link)] extern crate log;
90+
/// #[phase(plugin, link)] extern crate log;
9191
///
9292
/// # fn main() {
9393
/// # let ret = 3;
@@ -107,7 +107,7 @@ macro_rules! info(
107107
///
108108
/// ```
109109
/// #![feature(phase)]
110-
/// #[phase(syntax, link)] extern crate log;
110+
/// #[phase(plugin, link)] extern crate log;
111111
///
112112
/// # fn main() {
113113
/// debug!("x = {x}, y = {y}", x=10, y=20);
@@ -124,7 +124,7 @@ macro_rules! debug(
124124
///
125125
/// ```
126126
/// #![feature(phase)]
127-
/// #[phase(syntax, link)] extern crate log;
127+
/// #[phase(plugin, link)] extern crate log;
128128
///
129129
/// # fn main() {
130130
/// # struct Point { x: int, y: int }

branches/try2/src/libregex/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
//!
6666
//! ```rust
6767
//! #![feature(phase)]
68-
//! #[phase(syntax)]
68+
//! #[phase(plugin)]
6969
//! extern crate regex_macros;
7070
//! extern crate regex;
7171
//!
@@ -95,7 +95,7 @@
9595
//!
9696
//! ```rust
9797
//! # #![feature(phase)]
98-
//! # extern crate regex; #[phase(syntax)] extern crate regex_macros;
98+
//! # extern crate regex; #[phase(plugin)] extern crate regex_macros;
9999
//! # fn main() {
100100
//! let re = regex!(r"(\d{4})-(\d{2})-(\d{2})");
101101
//! let text = "2012-03-14, 2013-01-01 and 2014-07-05";
@@ -121,7 +121,7 @@
121121
//!
122122
//! ```rust
123123
//! # #![feature(phase)]
124-
//! # extern crate regex; #[phase(syntax)] extern crate regex_macros;
124+
//! # extern crate regex; #[phase(plugin)] extern crate regex_macros;
125125
//! # fn main() {
126126
//! let re = regex!(r"(?P<y>\d{4})-(?P<m>\d{2})-(?P<d>\d{2})");
127127
//! let before = "2012-03-14, 2013-01-01 and 2014-07-05";
@@ -168,7 +168,7 @@
168168
//!
169169
//! ```rust
170170
//! # #![feature(phase)]
171-
//! # extern crate regex; #[phase(syntax)] extern crate regex_macros;
171+
//! # extern crate regex; #[phase(plugin)] extern crate regex_macros;
172172
//! # fn main() {
173173
//! let re = regex!(r"(?i)Δ+");
174174
//! assert_eq!(re.find("ΔδΔ"), Some((0, 6)));
@@ -181,7 +181,7 @@
181181
//!
182182
//! ```rust
183183
//! # #![feature(phase)]
184-
//! # extern crate regex; #[phase(syntax)] extern crate regex_macros;
184+
//! # extern crate regex; #[phase(plugin)] extern crate regex_macros;
185185
//! # fn main() {
186186
//! let re = regex!(r"[\pN\p{Greek}\p{Cherokee}]+");
187187
//! assert_eq!(re.find("abcΔᎠβⅠᏴγδⅡxyz"), Some((3, 23)));
@@ -278,7 +278,7 @@
278278
//!
279279
//! ```rust
280280
//! # #![feature(phase)]
281-
//! # extern crate regex; #[phase(syntax)] extern crate regex_macros;
281+
//! # extern crate regex; #[phase(plugin)] extern crate regex_macros;
282282
//! # fn main() {
283283
//! let re = regex!(r"(?i)a+(?-i)b+");
284284
//! let cap = re.captures("AaAaAbbBBBb").unwrap();

branches/try2/src/libregex/re.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ pub fn is_match(regex: &str, text: &str) -> Result<bool, parse::Error> {
8787
/// ```rust
8888
/// #![feature(phase)]
8989
/// extern crate regex;
90-
/// #[phase(syntax)] extern crate regex_macros;
90+
/// #[phase(plugin)] extern crate regex_macros;
9191
///
9292
/// fn main() {
9393
/// let re = regex!(r"\d+");
@@ -172,7 +172,7 @@ impl Regex {
172172
///
173173
/// ```rust
174174
/// # #![feature(phase)]
175-
/// # extern crate regex; #[phase(syntax)] extern crate regex_macros;
175+
/// # extern crate regex; #[phase(plugin)] extern crate regex_macros;
176176
/// # fn main() {
177177
/// let text = "I categorically deny having triskaidekaphobia.";
178178
/// let matched = regex!(r"\b\w{13}\b").is_match(text);
@@ -197,7 +197,7 @@ impl Regex {
197197
///
198198
/// ```rust
199199
/// # #![feature(phase)]
200-
/// # extern crate regex; #[phase(syntax)] extern crate regex_macros;
200+
/// # extern crate regex; #[phase(plugin)] extern crate regex_macros;
201201
/// # fn main() {
202202
/// let text = "I categorically deny having triskaidekaphobia.";
203203
/// let pos = regex!(r"\b\w{13}\b").find(text);
@@ -224,7 +224,7 @@ impl Regex {
224224
///
225225
/// ```rust
226226
/// # #![feature(phase)]
227-
/// # extern crate regex; #[phase(syntax)] extern crate regex_macros;
227+
/// # extern crate regex; #[phase(plugin)] extern crate regex_macros;
228228
/// # fn main() {
229229
/// let text = "Retroactively relinquishing remunerations is reprehensible.";
230230
/// for pos in regex!(r"\b\w{13}\b").find_iter(text) {
@@ -263,7 +263,7 @@ impl Regex {
263263
///
264264
/// ```rust
265265
/// # #![feature(phase)]
266-
/// # extern crate regex; #[phase(syntax)] extern crate regex_macros;
266+
/// # extern crate regex; #[phase(plugin)] extern crate regex_macros;
267267
/// # fn main() {
268268
/// let re = regex!(r"'([^']+)'\s+\((\d{4})\)");
269269
/// let text = "Not my favorite movie: 'Citizen Kane' (1941).";
@@ -281,7 +281,7 @@ impl Regex {
281281
///
282282
/// ```rust
283283
/// # #![feature(phase)]
284-
/// # extern crate regex; #[phase(syntax)] extern crate regex_macros;
284+
/// # extern crate regex; #[phase(plugin)] extern crate regex_macros;
285285
/// # fn main() {
286286
/// let re = regex!(r"'(?P<title>[^']+)'\s+\((?P<year>\d{4})\)");
287287
/// let text = "Not my favorite movie: 'Citizen Kane' (1941).";
@@ -314,7 +314,7 @@ impl Regex {
314314
///
315315
/// ```rust
316316
/// # #![feature(phase)]
317-
/// # extern crate regex; #[phase(syntax)] extern crate regex_macros;
317+
/// # extern crate regex; #[phase(plugin)] extern crate regex_macros;
318318
/// # fn main() {
319319
/// let re = regex!(r"'(?P<title>[^']+)'\s+\((?P<year>\d{4})\)");
320320
/// let text = "'Citizen Kane' (1941), 'The Wizard of Oz' (1939), 'M' (1931).";
@@ -350,7 +350,7 @@ impl Regex {
350350
///
351351
/// ```rust
352352
/// # #![feature(phase)]
353-
/// # extern crate regex; #[phase(syntax)] extern crate regex_macros;
353+
/// # extern crate regex; #[phase(plugin)] extern crate regex_macros;
354354
/// # fn main() {
355355
/// let re = regex!(r"[ \t]+");
356356
/// let fields: Vec<&str> = re.split("a b \t c\td e").collect();
@@ -380,7 +380,7 @@ impl Regex {
380380
///
381381
/// ```rust
382382
/// # #![feature(phase)]
383-
/// # extern crate regex; #[phase(syntax)] extern crate regex_macros;
383+
/// # extern crate regex; #[phase(plugin)] extern crate regex_macros;
384384
/// # fn main() {
385385
/// let re = regex!(r"\W+");
386386
/// let fields: Vec<&str> = re.splitn("Hey! How are you?", 3).collect();
@@ -410,7 +410,7 @@ impl Regex {
410410
///
411411
/// ```rust
412412
/// # #![feature(phase)]
413-
/// # extern crate regex; #[phase(syntax)] extern crate regex_macros;
413+
/// # extern crate regex; #[phase(plugin)] extern crate regex_macros;
414414
/// # fn main() {
415415
/// let re = regex!("[^01]+");
416416
/// assert_eq!(re.replace("1078910", "").as_slice(), "1010");
@@ -424,7 +424,7 @@ impl Regex {
424424
///
425425
/// ```rust
426426
/// # #![feature(phase)]
427-
/// # extern crate regex; #[phase(syntax)] extern crate regex_macros;
427+
/// # extern crate regex; #[phase(plugin)] extern crate regex_macros;
428428
/// # use regex::Captures; fn main() {
429429
/// let re = regex!(r"([^,\s]+),\s+(\S+)");
430430
/// let result = re.replace("Springsteen, Bruce", |caps: &Captures| {
@@ -441,7 +441,7 @@ impl Regex {
441441
///
442442
/// ```rust
443443
/// # #![feature(phase)]
444-
/// # extern crate regex; #[phase(syntax)] extern crate regex_macros;
444+
/// # extern crate regex; #[phase(plugin)] extern crate regex_macros;
445445
/// # fn main() {
446446
/// let re = regex!(r"(?P<last>[^,\s]+),\s+(?P<first>\S+)");
447447
/// let result = re.replace("Springsteen, Bruce", "$first $last");
@@ -458,7 +458,7 @@ impl Regex {
458458
///
459459
/// ```rust
460460
/// # #![feature(phase)]
461-
/// # extern crate regex; #[phase(syntax)] extern crate regex_macros;
461+
/// # extern crate regex; #[phase(plugin)] extern crate regex_macros;
462462
/// # fn main() {
463463
/// use regex::NoExpand;
464464
///

branches/try2/src/libregex/test/mod.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
#[cfg(not(stage1))]
12-
#[phase(syntax)]
12+
#[phase(plugin)]
1313
extern crate regex_macros;
1414

1515
#[cfg(not(stage1))]

0 commit comments

Comments
 (0)