Remove redundant argument from subdiagnostic
method
This commit is contained in:
parent
527b3575ba
commit
cb1bde07c1
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ impl<G: EmissionGuarantee> Diagnostic<'_, G> for TargetFeatureDisableOrEnable<'_
|
||||||
diag.span(span);
|
diag.span(span);
|
||||||
};
|
};
|
||||||
if let Some(missing_features) = self.missing_features {
|
if let Some(missing_features) = self.missing_features {
|
||||||
diag.subdiagnostic(dcx, missing_features);
|
diag.subdiagnostic(missing_features);
|
||||||
}
|
}
|
||||||
diag.arg("features", self.features.join(", "));
|
diag.arg("features", self.features.join(", "));
|
||||||
diag
|
diag
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue