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
commit 71a1b80213
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,
};