Remove redundant argument from subdiagnostic
method
This commit is contained in:
parent
527b3575ba
commit
cb1bde07c1
@ -96,7 +96,7 @@ fn into_diag(self, dcx: DiagCtxtHandle<'_>, level: Level) -> Diag<'_, G> {
|
|||||||
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…
Reference in New Issue
Block a user