Derives on deprecated enum variants generate deprecation warnings #92313
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: explanation
No deprecated warnings generated.
Instead, this happened: explanation
use of deprecated tuple variant
Point::TwoD
#[warn(deprecated)]
on by defaultMeta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: