Elaborate lint explanation

This commit is contained in:
Jules Bertholet 2025-09-30 10:05:20 -04:00
parent 234df83fe3
commit 4cc2f952e4
No known key found for this signature in database
GPG key ID: 32034DAFC38C1BFC

View file

@ -708,7 +708,7 @@ declare_lint! {
///
/// ### Explanation
///
/// These qualifiers have no effect.
/// These qualifiers have no effect, as `const _` items are unnameable.
pub UNUSED_VISIBILITIES,
Warn,
"detect visibility qualifiers on `const _` items"