about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/messages.ftl
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-02-27 01:13:14 +0000
committer许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-02-27 01:13:14 +0000
commita5245ef284f70e048e9a4f6bbe1678067d0a3bb6 (patch)
treecfd823114aa8cdf6373115befb27d4decb6a33c9 /compiler/rustc_driver_impl/messages.ftl
parent829308e9af1a1f55540d2c8b0e007e1d0cb9c8c6 (diff)
downloadrust-a5245ef284f70e048e9a4f6bbe1678067d0a3bb6.tar.gz
rust-a5245ef284f70e048e9a4f6bbe1678067d0a3bb6.zip
Hint user to update nightly on ICEs produced from outdated nightly
Diffstat (limited to 'compiler/rustc_driver_impl/messages.ftl')
-rw-r--r--compiler/rustc_driver_impl/messages.ftl8
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/rustc_driver_impl/messages.ftl b/compiler/rustc_driver_impl/messages.ftl
index 39462112dc2..4b0efeba4c6 100644
--- a/compiler/rustc_driver_impl/messages.ftl
+++ b/compiler/rustc_driver_impl/messages.ftl
@@ -1,6 +1,14 @@
 driver_impl_ice = the compiler unexpectedly panicked. this is a bug.
 driver_impl_ice_bug_report = we would appreciate a bug report: {$bug_report_url}
 driver_impl_ice_bug_report_internal_feature = using internal features is not supported and expected to cause internal compiler errors when used incorrectly
+driver_impl_ice_bug_report_internal_feature_outdated =
+    using internal features is not supported and expected to cause internal compiler errors when used incorrectly
+    .outdated = it seems this '{$version}' is outdated, a newer nightly should have been released in the mean time
+    .update = please consider running `rustup update nightly` to update the nightly channel and check if this problem still persists
+driver_impl_ice_bug_report_outdated =
+    it seems this '{$version}' is outdated, a newer nightly should have been released in the mean time
+    .update = please consider running `rustup update nightly` to update the nightly channel and check if this problem still persists
+    .url = we would appreciate a bug report: {$bug_report_url}
 driver_impl_ice_exclude_cargo_defaults = some of the compiler flags provided by cargo are hidden
 
 driver_impl_ice_flags = compiler flags: {$flags}