Skip to content

Commit b9311b4

Browse files
authored
Rollup merge of #89760 - jyn514:remove-incremental-hack, r=Mark-Simulacrum
Remove hack ignoring unused attributes for stage 0 std This seems to no longer be giving spurious errors when incremental is enabled. Closes #58633.
2 parents 1be64f3 + 1b283d4 commit b9311b4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/bootstrap/builder.rs

-6
Original file line numberDiff line numberDiff line change
@@ -1342,12 +1342,6 @@ impl<'a> Builder<'a> {
13421342
rustdocflags.arg("-Dwarnings");
13431343
}
13441344

1345-
// FIXME(#58633) hide "unused attribute" errors in incremental
1346-
// builds of the standard library, as the underlying checks are
1347-
// not yet properly integrated with incremental recompilation.
1348-
if mode == Mode::Std && compiler.stage == 0 && self.config.incremental {
1349-
lint_flags.push("-Aunused-attributes");
1350-
}
13511345
// This does not use RUSTFLAGS due to caching issues with Cargo.
13521346
// Clippy is treated as an "in tree" tool, but shares the same
13531347
// cache as other "submodule" tools. With these options set in

0 commit comments

Comments
 (0)