Rollup merge of #60408 - gnzlbg:f16c2, r=Centril

Add missing f16c_target_feature check to typeck collect
This commit is contained in:
Mazdak Farrokhzad
2019-04-30 16:10:33 +02:00
committed by GitHub
+1
View File
@@ -2450,6 +2450,7 @@ fn from_target_feature(
Some("adx_target_feature") => rust_features.adx_target_feature,
Some("movbe_target_feature") => rust_features.movbe_target_feature,
Some("rtm_target_feature") => rust_features.rtm_target_feature,
Some("f16c_target_feature") => rust_features.f16c_target_feature,
Some(name) => bug!("unknown target feature gate {}", name),
None => true,
};