Deprecated attribute on trait impls is useless #51470
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-trait-system
Area: Trait system
I'd expect the following code to warn, but it doesn't:
Note: It is an error to put the
deprecated
attribute on thefn f
in theimpl
itself.The text was updated successfully, but these errors were encountered: