File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ declare_clippy_lint! {
15
15
/// `dbg!` macro is intended as a debugging tool. It
16
16
/// should not be in version control.
17
17
///
18
+ /// ### Known problems!
19
+ /// * The lint level can't be changed by attributes, like most other lints.
20
+ /// To change the lint level, please use command line flags instead.
21
+ /// More information and a configuration example can be found in [clippy#6610].
22
+ ///
23
+ /// [clippy#6610]: https://github.com/rust-lang/rust-clippy/issues/6610#issuecomment-977120558
24
+ ///
18
25
/// ### Example
19
26
/// ```rust,ignore
20
27
/// // Bad
Original file line number Diff line number Diff line change @@ -72,7 +72,12 @@ declare_clippy_lint! {
72
72
/// application and might forget to remove those prints afterward.
73
73
///
74
74
/// ### Known problems
75
- /// Only catches `print!` and `println!` calls.
75
+ /// * Only catches `print!` and `println!` calls.
76
+ /// * The lint level can't be changed by attributes, like most other lints.
77
+ /// To change the lint level, please use command line flags instead.
78
+ /// More information and a configuration example can be found in [clippy#6610].
79
+ ///
80
+ /// [clippy#6610]: https://github.com/rust-lang/rust-clippy/issues/6610#issuecomment-977120558
76
81
///
77
82
/// ### Example
78
83
/// ```rust
@@ -94,7 +99,12 @@ declare_clippy_lint! {
94
99
/// application and might forget to remove those prints afterward.
95
100
///
96
101
/// ### Known problems
97
- /// Only catches `eprint!` and `eprintln!` calls.
102
+ /// * Only catches `eprint!` and `eprintln!` calls.
103
+ /// * The lint level can't be changed by attributes, like most other lints.
104
+ /// To change the lint level, please use command line flags instead.
105
+ /// More information and a configuration example can be found in [clippy#6610].
106
+ ///
107
+ /// [clippy#6610]: https://github.com/rust-lang/rust-clippy/issues/6610#issuecomment-977120558
98
108
///
99
109
/// ### Example
100
110
/// ```rust
You can’t perform that action at this time.
0 commit comments