We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15ef4ae commit 35e13f7Copy full SHA for 35e13f7
compiler/rustc_lint_defs/src/builtin.rs
@@ -707,7 +707,7 @@ declare_lint! {
707
///
708
/// ### Explanation
709
710
- /// These qualifiers have no effect.
+ /// These qualifiers have no effect, as `const _` items are unnameable.
711
pub UNUSED_VISIBILITIES,
712
Warn,
713
"detect visibility qualifiers on `const _` items"
0 commit comments