Skip to content

Commit cb1bde0

Browse files
committed
Remove redundant argument from subdiagnostic method
1 parent 527b357 commit cb1bde0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ impl<G: EmissionGuarantee> Diagnostic<'_, G> for TargetFeatureDisableOrEnable<'_
9696
diag.span(span);
9797
};
9898
if let Some(missing_features) = self.missing_features {
99-
diag.subdiagnostic(dcx, missing_features);
99+
diag.subdiagnostic(missing_features);
100100
}
101101
diag.arg("features", self.features.join(", "));
102102
diag

0 commit comments

Comments
 (0)