about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-01-30 15:52:20 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-01-30 18:46:08 +1100
commit06aa381adbd5bac561c57dc6fc0390da8ec45b69 (patch)
tree9e5c08b49f02c22be8aaab9e0fcd10d13bf5d438 /compiler/rustc_errors/src
parent45dc19785df0cd23af30498d3e1221e5e78142dc (diff)
downloadrust-06aa381adbd5bac561c57dc6fc0390da8ec45b69.tar.gz
rust-06aa381adbd5bac561c57dc6fc0390da8ec45b69.zip
Remove `DiagnosticArgName` from `rustc_codegen_ssa`.
It's identical to the one in `rustc_errors`; use that instead.

Also remove some `rustc_errors::` qualifiers.
Diffstat (limited to 'compiler/rustc_errors/src')
-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 6d9208341a5..295112c7c3c 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -33,8 +33,8 @@ extern crate self as rustc_errors;
 
 pub use codes::*;
 pub use diagnostic::{
-    AddToDiagnostic, DecorateLint, Diagnostic, DiagnosticArg, DiagnosticArgValue,
-    DiagnosticStyledString, IntoDiagnosticArg, SubDiagnostic,
+    AddToDiagnostic, DecorateLint, Diagnostic, DiagnosticArg, DiagnosticArgName,
+    DiagnosticArgValue, DiagnosticStyledString, IntoDiagnosticArg, SubDiagnostic,
 };
 pub use diagnostic_builder::{
     BugAbort, DiagnosticBuilder, EmissionGuarantee, FatalAbort, IntoDiagnostic,