From 076241e7740836cec707921194fef9cfed94eb55 Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Tue, 30 Apr 2019 12:32:34 +0200 Subject: [PATCH] Add missing f16c_target_feature check to typeck collect --- src/librustc_typeck/collect.rs | 1 + 1 file changed, 1 insertion(+) 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, };