@@ -180,10 +180,10 @@ const KNOWN_FEATURES: &'static [(&'static str, &'static str, Status)] = &[
180
180
( "type_macros" , "1.3.0" , Active ) ,
181
181
182
182
// allow `repr(simd)`, and importing the various simd intrinsics
183
- ( "simd_basics " , "1.3 .0" , Active ) ,
183
+ ( "repr_simd " , "1.4 .0" , Active ) ,
184
184
185
185
// Allows cfg(target_feature = "...").
186
- ( "cfg_target_feature" , "1.3 .0" , Active ) ,
186
+ ( "cfg_target_feature" , "1.4 .0" , Active ) ,
187
187
188
188
// allow `extern "platform-intrinsic" { ... }`
189
189
( "platform_intrinsics" , "1.4.0" , Active ) ,
@@ -422,7 +422,6 @@ pub struct Features {
422
422
pub allow_box : bool ,
423
423
pub allow_pushpop_unsafe : bool ,
424
424
pub simd_ffi : bool ,
425
- pub simd_basics : bool ,
426
425
pub unmarked_api : bool ,
427
426
pub negate_unsigned : bool ,
428
427
/// spans of #![feature] attrs for stable language features. for error reporting
@@ -453,7 +452,6 @@ impl Features {
453
452
allow_box : false ,
454
453
allow_pushpop_unsafe : false ,
455
454
simd_ffi : false ,
456
- simd_basics : false ,
457
455
unmarked_api : false ,
458
456
negate_unsigned : false ,
459
457
declared_stable_lang_features : Vec :: new ( ) ,
@@ -741,7 +739,7 @@ impl<'a, 'v> Visitor<'v> for PostExpansionVisitor<'a> {
741
739
if attr. name ( ) == "repr" {
742
740
for item in attr. meta_item_list ( ) . unwrap_or ( & [ ] ) {
743
741
if item. name ( ) == "simd" {
744
- self . gate_feature ( "simd_basics " , i. span ,
742
+ self . gate_feature ( "repr_simd " , i. span ,
745
743
"SIMD types are experimental and possibly buggy" ) ;
746
744
747
745
}
@@ -979,7 +977,6 @@ fn check_crate_inner<F>(cm: &CodeMap, span_handler: &SpanHandler,
979
977
allow_box : cx. has_feature ( "box_syntax" ) ,
980
978
allow_pushpop_unsafe : cx. has_feature ( "pushpop_unsafe" ) ,
981
979
simd_ffi : cx. has_feature ( "simd_ffi" ) ,
982
- simd_basics : cx. has_feature ( "simd_basics" ) ,
983
980
unmarked_api : cx. has_feature ( "unmarked_api" ) ,
984
981
negate_unsigned : cx. has_feature ( "negate_unsigned" ) ,
985
982
declared_stable_lang_features : accepted_features,
0 commit comments