@@ -423,9 +423,6 @@ declare_features! (
423
423
// `use path as _;` and `extern crate c as _;`
424
424
( active, underscore_imports, "1.26.0" , Some ( 48216 ) , None ) ,
425
425
426
- // Allows keywords to be escaped for use as identifiers
427
- ( active, raw_identifiers, "1.26.0" , Some ( 48589 ) , Some ( Edition :: Edition2018 ) ) ,
428
-
429
426
// Allows macro invocations in `extern {}` blocks
430
427
( active, macros_in_extern, "1.27.0" , Some ( 49476 ) , None ) ,
431
428
@@ -651,6 +648,8 @@ declare_features! (
651
648
// Allows importing and reexporting macros with `use`,
652
649
// enables macro modularization in general.
653
650
( 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 ) ,
654
653
) ;
655
654
656
655
// 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,
2072
2071
plugin_attributes,
2073
2072
} ;
2074
2073
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
-
2085
2074
let visitor = & mut PostExpansionVisitor { context : & ctx } ;
2086
2075
visitor. whole_crate_feature_gates ( krate) ;
2087
2076
visit:: walk_crate ( visitor, krate) ;
0 commit comments