Activate rustc deprecated_in_future
lint by default in clippy
#11323
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
Description
rustc has an allow-by-default lint
deprecated_in_future
, which does the same thing asdeprecated
, except that the lint is allow-by-default instead of warn or higher.By being allow-by-default makes sense for rustc, as the intention is not to warn unnecessarily when it's not 100% required; but I think that making the lint warn-by-default with clippy would make a lot of sense, as clippy is by nature more relaxed on things that it lints on, and linting on deprecated in future usage would be something that clippy users might want.
Related to #10997 where we are trying to lint on deprecated in future items. cc @Centri3
Version
No response
Additional Labels
@rustbot label +C-enhancement
The text was updated successfully, but these errors were encountered: