diff --git a/src/librustc_typeck/collect.rs b/src/librustc_typeck/collect.rs index b4f6ae9baae1b..894a1c82e876f 100644 --- a/src/librustc_typeck/collect.rs +++ b/src/librustc_typeck/collect.rs @@ -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, };