Open
Description
There's an open proposal to add an --msrv
flag to the compiler:
--hint-msrv=version
option so the compiler can take MSRV into account when linting compiler-team#772
The idea is that this could be used, in a similar way to the current --edition
flag, to gate lints (or features?) based on the MSRV.
As a process matter, since lang approves new lints and how they are gated, it seems that it might be helpful to T-compiler to know whether and how lang might intend to use this gating. So let's discuss that.
@rustbot labels +T-lang +C-discussion +I-lang-nominated
cc @rust-lang/lang @compiler-errors