Closed
Description
Right now the warnings about a removed lint is a full-fledged warning in the compiler, which primarily means that it is not affected by --cap-lints allow
. Note that -A warnings
does indeed suppress the warning, but Cargo no longer pases -A warnings
.
This ends up meaning that if you just updated to Rust 1.6 (where raw_pointer_derive
was removed) and recompile your project, you're actually pretty likely to get tons of these warnings from all your upstream dependencies. (although you yourself are unlikely to have allow(raw_pointer_derive)
. Ideally these warnings would behave like other lint warnings in Cargo, which is that they are ignored in dependencies by default (e.g. suppressed via --cap-lints allow
).