about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-03-08 12:03:51 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-03-11 10:04:50 +1100
commite9f0d9be0e42decc34d236d86e9b9140c6168aa2 (patch)
tree65279bbd21ac4f4983ed6e538869199e89c159db /compiler/rustc_errors/src/lib.rs
parent541d7cc65c56402f31335e41075838c0da5fbe01 (diff)
downloadrust-e9f0d9be0e42decc34d236d86e9b9140c6168aa2.tar.gz
rust-e9f0d9be0e42decc34d236d86e9b9140c6168aa2.zip
Rename `DecorateLint` as `LintDiagnostic`.
To match `derive(LintDiagnostic)`.
Diffstat (limited to 'compiler/rustc_errors/src/lib.rs')
-rw-r--r--compiler/rustc_errors/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index 99c5bb46d2f..bedb677c1e9 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -37,8 +37,8 @@ extern crate self as rustc_errors;
 
 pub use codes::*;
 pub use diagnostic::{
-    BugAbort, DecorateLint, Diag, DiagArg, DiagArgMap, DiagArgName, DiagArgValue, DiagInner,
-    DiagStyledString, Diagnostic, EmissionGuarantee, FatalAbort, IntoDiagArg, StringPart, Subdiag,
+    BugAbort, Diag, DiagArg, DiagArgMap, DiagArgName, DiagArgValue, DiagInner, DiagStyledString,
+    Diagnostic, EmissionGuarantee, FatalAbort, IntoDiagArg, LintDiagnostic, StringPart, Subdiag,
     SubdiagMessageOp, Subdiagnostic,
 };
 pub use diagnostic_impls::{