about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
diff options
context:
space:
mode:
authorXiretza <xiretza@xiretza.xyz>2022-10-05 21:40:56 +0200
committerXiretza <xiretza@xiretza.xyz>2023-02-01 21:49:45 +0100
commitfc0ba2c8b6c144a8bda60b8267fcbbdc8ed48084 (patch)
tree9f0e1fa35cbf28c5edc4adacf260da1495616d6b /compiler/rustc_errors/src/lib.rs
parent0e36e7cebe4db494478982f80db2f928f59802d6 (diff)
downloadrust-fc0ba2c8b6c144a8bda60b8267fcbbdc8ed48084.tar.gz
rust-fc0ba2c8b6c144a8bda60b8267fcbbdc8ed48084.zip
Use AddToDiagnostic for "use latest edition" help
Diffstat (limited to 'compiler/rustc_errors/src/lib.rs')
-rw-r--r--compiler/rustc_errors/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index ec04e865d53..05cfebbfe8a 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -378,7 +378,7 @@ pub struct DelayedBugPanic;
 
 pub use diagnostic::{
     AddToDiagnostic, DecorateLint, Diagnostic, DiagnosticArg, DiagnosticArgValue, DiagnosticId,
-    DiagnosticStyledString, IntoDiagnosticArg, SubDiagnostic,
+    DiagnosticStyledString, HelpUseLatestEdition, IntoDiagnosticArg, SubDiagnostic,
 };
 pub use diagnostic_builder::{DiagnosticBuilder, EmissionGuarantee, Noted};
 pub use diagnostic_impls::{DiagnosticArgFromDisplay, DiagnosticSymbolList};