diff --git a/clippy_lints/src/dbg_macro.rs b/clippy_lints/src/dbg_macro.rs index 1aae4c81c..5a0b60fdf 100644 --- a/clippy_lints/src/dbg_macro.rs +++ b/clippy_lints/src/dbg_macro.rs @@ -15,6 +15,14 @@ declare_clippy_lint! { /// `dbg!` macro is intended as a debugging tool. It /// should not be in version control. /// + /// ### Known problems + /// * The lint level is unaffected by crate attributes. The level can still + /// be set for functions, modules and other items. To change the level for + /// the entire crate, please use command line flags. More information and a + /// configuration example can be found in [clippy#6610]. + /// + /// [clippy#6610]: https://github.com/rust-lang/rust-clippy/issues/6610#issuecomment-977120558 + /// /// ### Example /// ```rust,ignore /// // Bad diff --git a/clippy_lints/src/write.rs b/clippy_lints/src/write.rs index bfa940728..c90fca24a 100644 --- a/clippy_lints/src/write.rs +++ b/clippy_lints/src/write.rs @@ -72,7 +72,13 @@ declare_clippy_lint! { /// application and might forget to remove those prints afterward. /// /// ### Known problems - /// Only catches `print!` and `println!` calls. + /// * Only catches `print!` and `println!` calls. + /// * The lint level is unaffected by crate attributes. The level can still + /// be set for functions, modules and other items. To change the level for + /// the entire crate, please use command line flags. More information and a + /// configuration example can be found in [clippy#6610]. + /// + /// [clippy#6610]: https://github.com/rust-lang/rust-clippy/issues/6610#issuecomment-977120558 /// /// ### Example /// ```rust @@ -94,7 +100,13 @@ declare_clippy_lint! { /// application and might forget to remove those prints afterward. /// /// ### Known problems - /// Only catches `eprint!` and `eprintln!` calls. + /// * Only catches `eprint!` and `eprintln!` calls. + /// * The lint level is unaffected by crate attributes. The level can still + /// be set for functions, modules and other items. To change the level for + /// the entire crate, please use command line flags. More information and a + /// configuration example can be found in [clippy#6610]. + /// + /// [clippy#6610]: https://github.com/rust-lang/rust-clippy/issues/6610#issuecomment-977120558 /// /// ### Example /// ```rust diff --git a/util/gh-pages/index.html b/util/gh-pages/index.html index 58e8b4f48..f175700a3 100644 --- a/util/gh-pages/index.html +++ b/util/gh-pages/index.html @@ -336,7 +336,7 @@ Otherwise, have a great day =^.^= -