add new lint non_std_lazy_statics
detect usage of `once_cell::sync::Lazy` and `lazy_static!`, recommending usage of `std::sync::LazyLock` instead
This commit is contained in:
parent
d7e20a9c16
commit
2671e4a5c1
16 changed files with 773 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ msrv_aliases! {
|
|||
1,83,0 { CONST_EXTERN_FN, CONST_FLOAT_BITS_CONV, CONST_FLOAT_CLASSIFY, CONST_MUT_REFS, CONST_UNWRAP }
|
||||
1,82,0 { IS_NONE_OR, REPEAT_N, RAW_REF_OP }
|
||||
1,81,0 { LINT_REASONS_STABILIZATION, ERROR_IN_CORE, EXPLICIT_SELF_TYPE_ELISION }
|
||||
1,80,0 { BOX_INTO_ITER }
|
||||
1,80,0 { BOX_INTO_ITER, LAZY_CELL }
|
||||
1,77,0 { C_STR_LITERALS }
|
||||
1,76,0 { PTR_FROM_REF, OPTION_RESULT_INSPECT }
|
||||
1,74,0 { REPR_RUST }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue