Skip to content

Commit

Permalink
Remove outdated information in the unreachable_pub lint description
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Jan 7, 2025
1 parent fb546ee commit 56cba09
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions compiler/rustc_lint/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 56cba09

Please sign in to comment.