Skip to content

Commit 6c41290

Browse files
authored
Unrolled build for rust-lang#135212
Rollup merge of rust-lang#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`
2 parents b6b8361 + 56cba09 commit 6c41290

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)