incremental compilation flags #[rustc_on_unimplemented] as an unused attribute #59523
Labels
A-incr-comp
Area: Incremental compilation
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Spawned off of #58633
The following code will compile successfully the first time you build it with
-C incremental=dir
, then will fail the second time (again with-C incremental=dir
).Code:
Demonstration:
This may seem like a low priority item since it is using
#![feature(on_unimplemented)]
; but we use that feature inlibcore
itself, so this problem is causing issues for people who want to use incremental compilation when making their locally bootstrapped build, which defaults to-D warnings
.The text was updated successfully, but these errors were encountered: