@@ -423,9 +423,6 @@ declare_features! (
423423 // `use path as _;` and `extern crate c as _;`
424424 ( active, underscore_imports, "1.26.0" , Some ( 48216 ) , None ) ,
425425
426- // Allows keywords to be escaped for use as identifiers
427- ( active, raw_identifiers, "1.26.0" , Some ( 48589 ) , Some ( Edition :: Edition2018 ) ) ,
428-
429426 // Allows macro invocations in `extern {}` blocks
430427 ( active, macros_in_extern, "1.27.0" , Some ( 49476 ) , None ) ,
431428
@@ -651,6 +648,8 @@ declare_features! (
651648 // Allows importing and reexporting macros with `use`,
652649 // enables macro modularization in general.
653650 ( accepted, use_extern_macros, "1.30.0" , Some ( 35896 ) , None ) ,
651+ // Allows keywords to be escaped for use as identifiers
652+ ( accepted, raw_identifiers, "1.30.0" , Some ( 48589 ) , None ) ,
654653) ;
655654
656655// If you change this, please modify src/doc/unstable-book as well. You must
@@ -2072,16 +2071,6 @@ pub fn check_crate(krate: &ast::Crate,
20722071 plugin_attributes,
20732072 } ;
20742073
2075- if !features. raw_identifiers {
2076- for & span in sess. raw_identifier_spans . borrow ( ) . iter ( ) {
2077- if !span. allows_unstable ( ) {
2078- gate_feature ! ( & ctx, raw_identifiers, span,
2079- "raw identifiers are experimental and subject to change"
2080- ) ;
2081- }
2082- }
2083- }
2084-
20852074 let visitor = & mut PostExpansionVisitor { context : & ctx } ;
20862075 visitor. whole_crate_feature_gates ( krate) ;
20872076 visit:: walk_crate ( visitor, krate) ;
0 commit comments