Skip to content

Commit 56cba09

Browse files
committed
Remove outdated information in the unreachable_pub lint description
1 parent fb546ee commit 56cba09

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

compiler/rustc_lint/src/builtin.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1271,9 +1271,8 @@ declare_lint! {
12711271
/// `pub(crate)` visibility is recommended to be used instead. This more clearly expresses the
12721272
/// intent that the item is only visible within its own crate.
12731273
///
1274-
/// This lint is "allow" by default because it will trigger for a large
1275-
/// amount of existing Rust code, and has some false-positives. Eventually it
1276-
/// is desired for this to become warn-by-default.
1274+
/// This lint is "allow" by default because it will trigger for a large amount of existing Rust code.
1275+
/// Eventually it is desired for this to become warn-by-default.
12771276
///
12781277
/// [`unnameable_types`]: #unnameable-types
12791278
pub UNREACHABLE_PUB,

0 commit comments

Comments
 (0)