deprecated_cfg_attr hit in MSRV 1.29.0 #7922
Labels
C-bug
Category: Clippy is not doing the correct thing
good-first-issue
These issues are a good way to get started with Clippy
I-false-positive
Issue: The lint was triggered on code it shouldn't have
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Lint name: deprecated_cfg_attr
The suggested code doesn't work in the configured MSRV.
I tried this code:
with this configuration
I expected to see this happen: Clippy should see that
#[rustfmt::skip]
is not available in 1.29 and ignore itInstead, this happened: Clippy suggested
#[rustfmt::skip]
, which fails with old version of Rust.Meta
Rust version (
rustc -Vv
):@rustbot label +I-suggestion-causes-error
The text was updated successfully, but these errors were encountered: