about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorllogiq <bogusandre@gmail.com>2025-01-25 10:31:14 +0000
committerGitHub <noreply@github.com>2025-01-25 10:31:14 +0000
commit4825666bd359c429c7e218e318a36299c161de58 (patch)
tree36671870958a25c54fdd54dd13d38ee5ac347d6f /compiler/rustc_codegen_llvm/src
parentd7e20a9c163ad00ebc93671fd123dc11ee0dae8b (diff)
parent2671e4a5c19492dba76905cc1e27b5dfba5fb34f (diff)
downloadrust-4825666bd359c429c7e218e318a36299c161de58.tar.gz
rust-4825666bd359c429c7e218e318a36299c161de58.zip
add new lint `non_std_lazy_statics` (#13770)
fixes #12895

detects usage of `once_cell::sync::Lazy` and `lazy_static!`,
recommending usage of `std::sync::LazyLock` instead

Many thanks to @J-ZhengLi for putting in most of the work in #12968

----

changelog: new lint [`non_std_lazy_statics`]
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions