@@ -433,9 +433,6 @@ declare_features! (
433
433
// `use path as _;` and `extern crate c as _;`
434
434
( active, underscore_imports, "1.26.0" , Some ( 48216 ) , None ) ,
435
435
436
- // Allows keywords to be escaped for use as identifiers
437
- ( active, raw_identifiers, "1.26.0" , Some ( 48589 ) , Some ( Edition :: Edition2018 ) ) ,
438
-
439
436
// Allows macro invocations in `extern {}` blocks
440
437
( active, macros_in_extern, "1.27.0" , Some ( 49476 ) , None ) ,
441
438
@@ -645,6 +642,8 @@ declare_features! (
645
642
( accepted, repr_transparent, "1.28.0" , Some ( 43036 ) , None ) ,
646
643
// Defining procedural macros in `proc-macro` crates
647
644
( 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 ) ,
648
647
) ;
649
648
650
649
// 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,
2015
2014
plugin_attributes,
2016
2015
} ;
2017
2016
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
-
2028
2017
let visitor = & mut PostExpansionVisitor { context : & ctx } ;
2029
2018
visitor. whole_crate_feature_gates ( krate) ;
2030
2019
visit:: walk_crate ( visitor, krate) ;
0 commit comments