Skip to content

Commit 35e13f7

Browse files
Elaborate lint explanation
1 parent 15ef4ae commit 35e13f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint_defs/src/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ declare_lint! {
707707
///
708708
/// ### Explanation
709709
///
710-
/// These qualifiers have no effect.
710+
/// These qualifiers have no effect, as `const _` items are unnameable.
711711
pub UNUSED_VISIBILITIES,
712712
Warn,
713713
"detect visibility qualifiers on `const _` items"

0 commit comments

Comments
 (0)