mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Remove hack ignoring unused attributes for stage 0 std
This seems to no longer be giving spurious errors when incremental is enabled.
This commit is contained in:
parent
ac8dd1b2f2
commit
1b283d49c7
@ -1342,12 +1342,6 @@ impl<'a> Builder<'a> {
|
||||
rustdocflags.arg("-Dwarnings");
|
||||
}
|
||||
|
||||
// FIXME(#58633) hide "unused attribute" errors in incremental
|
||||
// builds of the standard library, as the underlying checks are
|
||||
// not yet properly integrated with incremental recompilation.
|
||||
if mode == Mode::Std && compiler.stage == 0 && self.config.incremental {
|
||||
lint_flags.push("-Aunused-attributes");
|
||||
}
|
||||
// This does not use RUSTFLAGS due to caching issues with Cargo.
|
||||
// Clippy is treated as an "in tree" tool, but shares the same
|
||||
// cache as other "submodule" tools. With these options set in
|
||||
|
Loading…
Reference in New Issue
Block a user