]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/disallowed_types.rs
modify code
[rust.git] / clippy_lints / src / disallowed_types.rs
index eaed40327136f75636b013e37ee400b7a9318790..ea4b49b46fe9f6d6e5ca9e6f7e8ee6d3e8f4112b 100644 (file)
@@ -14,6 +14,9 @@
     /// ### What it does
     /// Denies the configured types in clippy.toml.
     ///
+    /// Note: Even though this lint is warn-by-default, it will only trigger if
+    /// types are defined in the clippy.toml file.
+    ///
     /// ### Why is this bad?
     /// Some types are undesirable in certain contexts.
     ///
@@ -44,7 +47,7 @@
     /// ```
     #[clippy::version = "1.55.0"]
     pub DISALLOWED_TYPES,
-    nursery,
+    style,
     "use of disallowed types"
 }
 #[derive(Clone, Debug)]