Skip to content

Commit e1ca26e

Browse files
authored
Rollup merge of rust-lang#60408 - gnzlbg:f16c2, r=Centril
Add missing f16c_target_feature check to typeck collect
2 parents fdcc615 + 076241e commit e1ca26e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_typeck/collect.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2450,6 +2450,7 @@ fn from_target_feature(
24502450
Some("adx_target_feature") => rust_features.adx_target_feature,
24512451
Some("movbe_target_feature") => rust_features.movbe_target_feature,
24522452
Some("rtm_target_feature") => rust_features.rtm_target_feature,
2453+
Some("f16c_target_feature") => rust_features.f16c_target_feature,
24532454
Some(name) => bug!("unknown target feature gate {}", name),
24542455
None => true,
24552456
};

0 commit comments

Comments
 (0)