about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/diagnostic_builder.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/diagnostic_builder.rs
parent0e36e7cebe4db494478982f80db2f928f59802d6 (diff)
downloadrust-fc0ba2c8b6c144a8bda60b8267fcbbdc8ed48084.tar.gz
rust-fc0ba2c8b6c144a8bda60b8267fcbbdc8ed48084.zip
Use AddToDiagnostic for "use latest edition" help
Diffstat (limited to 'compiler/rustc_errors/src/diagnostic_builder.rs')
-rw-r--r--compiler/rustc_errors/src/diagnostic_builder.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/diagnostic_builder.rs b/compiler/rustc_errors/src/diagnostic_builder.rs
index c9d662ad43f..3064d2bedbe 100644
--- a/compiler/rustc_errors/src/diagnostic_builder.rs
+++ b/compiler/rustc_errors/src/diagnostic_builder.rs
@@ -669,7 +669,6 @@ impl<'a, G: EmissionGuarantee> DiagnosticBuilder<'a, G> {
         sp: impl Into<MultiSpan>,
         msg: impl Into<SubdiagnosticMessage>,
     ) -> &mut Self);
-    forward!(pub fn help_use_latest_edition(&mut self,) -> &mut Self);
     forward!(pub fn set_is_lint(&mut self,) -> &mut Self);
 
     forward!(pub fn disable_suggestions(&mut self,) -> &mut Self);