diff options
| author | Urgau <urgau@numericable.fr> | 2025-05-10 15:12:41 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2025-05-26 21:51:09 +0200 |
| commit | 93f3db25c0e554d3143bed945e2671a14aa5288d (patch) | |
| tree | 68448b5dbe6bcea95f1e00cd27f56f27dddd3f29 /compiler/rustc_lint/src/early/diagnostics.rs | |
| parent | e33fe611f548aec16722657bf331ad75bf01617f (diff) | |
| download | rust-93f3db25c0e554d3143bed945e2671a14aa5288d.tar.gz rust-93f3db25c0e554d3143bed945e2671a14aa5288d.zip | |
Expose `rustc_lint::decorate_builtin_lint` for use in `rustdoc`
Diffstat (limited to 'compiler/rustc_lint/src/early/diagnostics.rs')
| -rw-r--r-- | compiler/rustc_lint/src/early/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/early/diagnostics.rs b/compiler/rustc_lint/src/early/diagnostics.rs index 40ca9e05d95..8987b286cf7 100644 --- a/compiler/rustc_lint/src/early/diagnostics.rs +++ b/compiler/rustc_lint/src/early/diagnostics.rs @@ -18,7 +18,7 @@ use crate::lints::{self, ElidedNamedLifetime}; mod check_cfg; -pub(super) fn decorate_lint( +pub fn decorate_builtin_lint( sess: &Session, tcx: Option<TyCtxt<'_>>, diagnostic: BuiltinLintDiag, |
