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 032e5ef commit 56276b3Copy full SHA for 56276b3
compiler/rustc_errors/src/lib.rs
@@ -1304,14 +1304,10 @@ impl DiagCtxtInner {
1304
&& !self.flags.can_emit_warnings
1305
&& !diagnostic.is_force_warn()
1306
{
1307
- if diagnostic.has_future_breakage() {
1308
- (*TRACK_DIAGNOSTIC)(diagnostic, &mut |_| {});
1309
- }
1310
return None;
1311
}
1312
1313
if matches!(diagnostic.level, Expect(_) | Allow) {
1314
1315
1316
1317
0 commit comments