1
Fork 0

Add missing f16c_target_feature check to typeck collect

This commit is contained in:
gnzlbg 2019-04-30 12:32:34 +02:00
parent f843ad60ef
commit 076241e774

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