about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJ-ZhengLi <lizheng135@huawei.com>2024-06-24 09:52:09 +0800
committerPeter Jaszkowiak <p.jaszkow@gmail.com>2025-01-24 14:06:46 -0700
commit2671e4a5c19492dba76905cc1e27b5dfba5fb34f (patch)
tree36671870958a25c54fdd54dd13d38ee5ac347d6f /compiler/rustc_codegen_llvm/src
parentd7e20a9c163ad00ebc93671fd123dc11ee0dae8b (diff)
downloadrust-2671e4a5c19492dba76905cc1e27b5dfba5fb34f.tar.gz
rust-2671e4a5c19492dba76905cc1e27b5dfba5fb34f.zip
add new lint `non_std_lazy_statics`
detect usage of `once_cell::sync::Lazy` and `lazy_static!`,
recommending usage of `std::sync::LazyLock` instead
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions