Hide implicit target features from diagnostics when possible
This commit is contained in:
parent
e80199cc79
commit
51130e10f1
@ -75,7 +75,7 @@ pub fn from_fn_attrs<'gcc, 'tcx>(
|
|||||||
let function_features = codegen_fn_attrs
|
let function_features = codegen_fn_attrs
|
||||||
.target_features
|
.target_features
|
||||||
.iter()
|
.iter()
|
||||||
.map(|features| features.as_str())
|
.map(|features| features.name.as_str())
|
||||||
.collect::<Vec<&str>>();
|
.collect::<Vec<&str>>();
|
||||||
|
|
||||||
if let Some(features) = check_tied_features(
|
if let Some(features) = check_tied_features(
|
||||||
|
Loading…
Reference in New Issue
Block a user