We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TRACK_DIAGNOSTIC
1 parent b9bae52 commit 1c30987Copy full SHA for 1c30987
compiler/rustc_errors/src/lib.rs
@@ -1307,14 +1307,10 @@ impl DiagCtxtInner {
1307
&& !self.flags.can_emit_warnings
1308
&& !diagnostic.is_force_warn()
1309
{
1310
- if diagnostic.has_future_breakage() {
1311
- (*TRACK_DIAGNOSTIC)(diagnostic, &mut |_| {});
1312
- }
1313
return None;
1314
}
1315
1316
if matches!(diagnostic.level, Expect(_) | Allow) {
1317
1318
1319
1320
0 commit comments