diff options
| author | Michael Goulet <michael@errs.io> | 2023-09-07 00:45:12 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-09-07 01:31:32 +0000 |
| commit | 4d05da46e7154a6fc31bed3b217892d9a98cc0e3 (patch) | |
| tree | 8b8d89c33d5a822d96a38e76b6c2c498fde936de /compiler/rustc_lint_defs/src/builtin.rs | |
| parent | 4745d34bc3ac377f8444d5dac94e0f206b7cded7 (diff) | |
| download | rust-4d05da46e7154a6fc31bed3b217892d9a98cc0e3.tar.gz rust-4d05da46e7154a6fc31bed3b217892d9a98cc0e3.zip | |
Don't emit refining_impl_trait for private items
Diffstat (limited to 'compiler/rustc_lint_defs/src/builtin.rs')
| -rw-r--r-- | compiler/rustc_lint_defs/src/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index df0151dc499..2567e273e11 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -4496,7 +4496,7 @@ declare_lint! { /// /// use std::fmt::Display; /// - /// trait AsDisplay { + /// pub trait AsDisplay { /// fn as_display(&self) -> impl Display; /// } /// |
