about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
diff options
context:
space:
mode:
authorJhonny Bill Mena <jhonnybillm@gmail.com>2022-10-12 16:55:28 -0400
committerJhonny Bill Mena <jhonnybillm@gmail.com>2022-10-12 16:55:28 -0400
commitbe221573c853f5cdca8becab5acc600d6c79eac5 (patch)
tree709db01b3ea396be01d12e3badc5b422bd6bde82 /compiler/rustc_errors/src/lib.rs
parent5645cd5b09fb6db849376872fd09fe31bf029b57 (diff)
downloadrust-be221573c853f5cdca8becab5acc600d6c79eac5.tar.gz
rust-be221573c853f5cdca8becab5acc600d6c79eac5.zip
UPDATE - Move IntoDiagnosticArg implementations to diagnostic_impls file
Diffstat (limited to 'compiler/rustc_errors/src/lib.rs')
-rw-r--r--compiler/rustc_errors/src/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index 955e85c3616..9fafbe4bd40 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -372,10 +372,11 @@ impl fmt::Display for ExplicitBug {
 impl error::Error for ExplicitBug {}
 
 pub use diagnostic::{
-    AddToDiagnostic, DecorateLint, Diagnostic, DiagnosticArg, DiagnosticArgFromDisplay,
-    DiagnosticArgValue, DiagnosticId, DiagnosticStyledString, IntoDiagnosticArg, SubDiagnostic,
+    AddToDiagnostic, DecorateLint, Diagnostic, DiagnosticArg, DiagnosticArgValue, DiagnosticId,
+    DiagnosticStyledString, IntoDiagnosticArg, SubDiagnostic,
 };
 pub use diagnostic_builder::{DiagnosticBuilder, EmissionGuarantee, Noted};
+pub use diagnostic_impls::DiagnosticArgFromDisplay;
 use std::backtrace::Backtrace;
 
 /// A handler deals with errors and other compiler output.