Hide implicit target features from diagnostics when possible
This commit is contained in:
parent
6b96a60611
commit
83276f5680
16 changed files with 89 additions and 43 deletions
|
@ -75,7 +75,7 @@ pub fn from_fn_attrs<'gcc, 'tcx>(
|
|||
let function_features = codegen_fn_attrs
|
||||
.target_features
|
||||
.iter()
|
||||
.map(|features| features.as_str())
|
||||
.map(|features| features.name.as_str())
|
||||
.collect::<Vec<&str>>();
|
||||
|
||||
if let Some(features) = check_tied_features(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue