@@ -433,9 +433,6 @@ declare_features! (
433433 // `use path as _;` and `extern crate c as _;`
434434 ( active, underscore_imports, "1.26.0" , Some ( 48216 ) , None ) ,
435435
436- // Allows keywords to be escaped for use as identifiers
437- ( active, raw_identifiers, "1.26.0" , Some ( 48589 ) , Some ( Edition :: Edition2018 ) ) ,
438-
439436 // Allows macro invocations in `extern {}` blocks
440437 ( active, macros_in_extern, "1.27.0" , Some ( 49476 ) , None ) ,
441438
@@ -645,6 +642,8 @@ declare_features! (
645642 ( accepted, repr_transparent, "1.28.0" , Some ( 43036 ) , None ) ,
646643 // Defining procedural macros in `proc-macro` crates
647644 ( accepted, proc_macro, "1.29.0" , Some ( 38356 ) , None ) ,
645+ // Allows keywords to be escaped for use as identifiers
646+ ( accepted, raw_identifiers, "1.30.0" , Some ( 48589 ) , None ) ,
648647) ;
649648
650649// If you change this, please modify src/doc/unstable-book as well. You must
@@ -2015,16 +2014,6 @@ pub fn check_crate(krate: &ast::Crate,
20152014 plugin_attributes,
20162015 } ;
20172016
2018- if !features. raw_identifiers {
2019- for & span in sess. raw_identifier_spans . borrow ( ) . iter ( ) {
2020- if !span. allows_unstable ( ) {
2021- gate_feature ! ( & ctx, raw_identifiers, span,
2022- "raw identifiers are experimental and subject to change"
2023- ) ;
2024- }
2025- }
2026- }
2027-
20282017 let visitor = & mut PostExpansionVisitor { context : & ctx } ;
20292018 visitor. whole_crate_feature_gates ( krate) ;
20302019 visit:: walk_crate ( visitor, krate) ;
0 commit comments