diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2024-01-20 00:22:25 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2024-03-13 18:37:40 +0300 |
| commit | 95ec17a793d396fca2d03fb3ce5a53e137e04af4 (patch) | |
| tree | 0e695a59387a0b82bf5d5718f9270e902c5b4f5c /compiler/rustc_lint | |
| parent | 9ce37dc7290e60bd0dfc7a5d4fcdbbd836f989f0 (diff) | |
| download | rust-95ec17a793d396fca2d03fb3ce5a53e137e04af4.tar.gz rust-95ec17a793d396fca2d03fb3ce5a53e137e04af4.zip | |
privacy: Stabilize lint `unnameable_types`
Diffstat (limited to 'compiler/rustc_lint')
| -rw-r--r-- | compiler/rustc_lint/src/builtin.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/rustc_lint/src/builtin.rs b/compiler/rustc_lint/src/builtin.rs index 595dc08b081..19a5ef6a864 100644 --- a/compiler/rustc_lint/src/builtin.rs +++ b/compiler/rustc_lint/src/builtin.rs @@ -1337,8 +1337,9 @@ impl<'tcx> LateLintPass<'tcx> for UngatedAsyncFnTrackCaller { } declare_lint! { - /// The `unreachable_pub` lint triggers for `pub` items not reachable from - /// the crate root. + /// The `unreachable_pub` lint triggers for `pub` items not reachable from other crates - that + /// means neither directly accessible, nor reexported, nor leaked through things like return + /// types. /// /// ### Example /// |
