mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Rollup merge of #135212 - Urgau:unreach_pub-upd-descr, r=petrochenkov
Remove outdated information in the `unreachable_pub` lint description As far as I understand the `unreachable_pub` lint hasn't had false-positives since it started using "effective visibilities". Let's remove that warning from the lint description. r? `@petrochenkov`
This commit is contained in:
commit
a9614a5768
@ -1271,9 +1271,8 @@ declare_lint! {
|
||||
/// `pub(crate)` visibility is recommended to be used instead. This more clearly expresses the
|
||||
/// intent that the item is only visible within its own crate.
|
||||
///
|
||||
/// This lint is "allow" by default because it will trigger for a large
|
||||
/// amount of existing Rust code, and has some false-positives. Eventually it
|
||||
/// is desired for this to become warn-by-default.
|
||||
/// This lint is "allow" by default because it will trigger for a large amount of existing Rust code.
|
||||
/// Eventually it is desired for this to become warn-by-default.
|
||||
///
|
||||
/// [`unnameable_types`]: #unnameable-types
|
||||
pub UNREACHABLE_PUB,
|
||||
|
Loading…
Reference in New Issue
Block a user