We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 61dd007 + 44eb66d commit b08bbe5Copy full SHA for b08bbe5
clippy_lints/src/shadow.rs
@@ -74,7 +74,9 @@ declare_clippy_lint! {
74
/// names to bindings or introducing more scopes to contain the bindings.
75
///
76
/// **Known problems:** This lint, as the other shadowing related lints,
77
- /// currently only catches very simple patterns.
+ /// currently only catches very simple patterns. Note that
78
+ /// `allow`/`warn`/`deny`/`forbid` attributes only work on the function level
79
+ /// for this lint.
80
81
/// **Example:**
82
/// ```rust
0 commit comments