]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/lint.rs
Rollup merge of #98972 - TaKO8Ki:suggest-adding-missing-zero-to-floating-point-number...
[rust.git] / src / librustdoc / lint.rs
index 08a1a868521f428cde748875dd5f3e025ce22950..240aec52cff020f94b8317fb158890c4029aee83 100644 (file)
@@ -3,7 +3,7 @@
 use rustc_lint_defs::{declare_tool_lint, Lint, LintId};
 use rustc_session::{lint, Session};
 
-use std::lazy::SyncLazy as Lazy;
+use std::sync::LazyLock as Lazy;
 
 /// This function is used to setup the lint initialization. By default, in rustdoc, everything
 /// is "allowed". Depending if we run in test mode or not, we want some of them to be at their