incremental compilation flags #[rustc_layout_scalar_valid_range_*] as an unused attribute #59524
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 an unstable feature; but we use that feature in
libcore
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: