Skip to content

Commit

Permalink
Rollup merge of rust-lang#60408 - gnzlbg:f16c2, r=Centril
Browse files Browse the repository at this point in the history
Add missing f16c_target_feature check to typeck collect
  • Loading branch information
Centril authored Apr 30, 2019
2 parents 008e21d + 076241e commit 71a1b80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_typeck/collect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 71a1b80

Please sign in to comment.