about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-04-30 16:10:33 +0200
committerGitHub <noreply@github.com>2019-04-30 16:10:33 +0200
commit71a1b80213f20de9982ec818a823cdc8c31e61ee (patch)
tree81255ff4ac083ce801ad383f96ab6de28785571f
parent008e21d6f6f472140e60d2a8fe142c43ac2a72d1 (diff)
parent076241e7740836cec707921194fef9cfed94eb55 (diff)
downloadrust-71a1b80213f20de9982ec818a823cdc8c31e61ee.tar.gz
rust-71a1b80213f20de9982ec818a823cdc8c31e61ee.zip
Rollup merge of #60408 - gnzlbg:f16c2, r=Centril
Add missing f16c_target_feature check to typeck collect
-rw-r--r--src/librustc_typeck/collect.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_typeck/collect.rs b/src/librustc_typeck/collect.rs
index b4f6ae9baae..894a1c82e87 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,
             };