Replaced with a single "quote" feature gate.
This commit is contained in:
parent
38f2526beb
commit
124938bcf5
9 changed files with 11 additions and 16 deletions
|
|
@ -49,12 +49,7 @@ static KNOWN_FEATURES: &'static [(&'static str, Status)] = &[
|
|||
("trace_macros", Active),
|
||||
("simd", Active),
|
||||
("default_type_params", Active),
|
||||
("quote_tokens", Active),
|
||||
("quote_expr", Active),
|
||||
("quote_ty", Active),
|
||||
("quote_item", Active),
|
||||
("quote_pat", Active),
|
||||
("quote_stmt", Active),
|
||||
("quote", Active),
|
||||
|
||||
// These are used to test this portion of the compiler, they don't actually
|
||||
// mean anything
|
||||
|
|
@ -221,7 +216,7 @@ impl Visitor<()> for Context {
|
|||
} else {
|
||||
for "e in quotes.iter() {
|
||||
if id == self.sess.ident_of(quote) {
|
||||
self.gate_feature(quote, path.span, quote + msg);
|
||||
self.gate_feature("quote", path.span, quote + msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ This API is completely unstable and subject to change.
|
|||
|
||||
#[feature(macro_rules, globs, struct_variant, managed_boxes)];
|
||||
#[allow(unknown_features)]; // Note: remove it after a snapshot.
|
||||
#[feature(quote_item, quote_expr)];
|
||||
#[feature(quote)];
|
||||
|
||||
extern mod extra;
|
||||
extern mod flate;
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ This API is completely unstable and subject to change.
|
|||
html_root_url = "http://static.rust-lang.org/doc/master")];
|
||||
|
||||
#[feature(macro_rules, globs, managed_boxes)];
|
||||
#[allow(unknown_features)];
|
||||
#[feature(quote_expr)];
|
||||
#[allow(unknown_features)];// Note: remove it after a snapshot.
|
||||
#[feature(quote)];
|
||||
|
||||
#[deny(non_camel_case_types)];
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
// force-host
|
||||
|
||||
#[feature(globs, macro_registrar, macro_rules, quote_expr)];
|
||||
#[feature(globs, macro_registrar, macro_rules, quote)];
|
||||
|
||||
extern mod syntax;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
// xfail-test Can't use syntax crate here
|
||||
#[feature(quote_expr)];
|
||||
#[feature(quote)];
|
||||
|
||||
extern mod extra;
|
||||
extern mod syntax;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
// xfail-test Can't use syntax crate here
|
||||
#[feature(quote_stmt)];
|
||||
#[feature(quote)];
|
||||
|
||||
extern mod extra;
|
||||
extern mod syntax;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
// xfail-pretty
|
||||
// xfail-test
|
||||
#[feature(quote_expr, quote_ty, quote_item, quote_stmt, quote_pat)];
|
||||
#[feature(quote)];
|
||||
|
||||
extern mod extra;
|
||||
extern mod syntax;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
// xfail-test
|
||||
#[feature(quote_expr, quote_tokens, quote_item, quote_pat, quote_stmt)];
|
||||
#[feature(quote)];
|
||||
#[feature(managed_boxes)];
|
||||
|
||||
extern mod syntax;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
// xfail-fast
|
||||
// xfail-android
|
||||
#[feature(quote_expr)];
|
||||
#[feature(quote)];
|
||||
#[deny(unused_variable)];
|
||||
|
||||
extern mod syntax;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue