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 4fd61dd commit 481d3a1Copy full SHA for 481d3a1
compiler/rustc_lint_defs/src/builtin.rs
@@ -705,7 +705,7 @@ declare_lint! {
705
///
706
/// ### Explanation
707
708
- /// These qualifiers have no effect.
+ /// These qualifiers have no effect, as `const _` items are unnameable.
709
pub UNUSED_VISIBILITIES,
710
Warn,
711
"detect visibility qualifiers on `const _` items"
0 commit comments