about summary refs log tree commit diff
path: root/compiler/rustc_middle/messages.ftl
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-03 07:27:58 +0000
committerbors <bors@rust-lang.org>2023-04-03 07:27:58 +0000
commit932c173ca1b7a79c1005e2d72ddfa505a7bf2cfa (patch)
tree2c44d95b514a02c51806d2e3f38e3fe29c9b07e4 /compiler/rustc_middle/messages.ftl
parentd0eed58a1e78eb1a25bb54076e4b0f7ea5ff7401 (diff)
parent22df7107bdd36cf47e327c8165e720c1eccb351d (diff)
downloadrust-932c173ca1b7a79c1005e2d72ddfa505a7bf2cfa.tar.gz
rust-932c173ca1b7a79c1005e2d72ddfa505a7bf2cfa.zip
Auto merge of #109884 - matthiaskrgr:rollup-5wapig9, r=matthiaskrgr
Rollup of 7 pull requests

Successful merges:

 - #109526 (LIBPATH is used as dylib's path environment variable on AIX)
 - #109642 (check for missing codegen backeng config)
 - #109722 (Implement read_buf for RustHermit)
 - #109856 (fix(middle): emit error rather than delay bug when reaching limit)
 - #109868 (Improve PR job names in Github Actions preview)
 - #109871 (Include invocation start times)
 - #109873 (Move some UI tests into subdirectories)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_middle/messages.ftl')
-rw-r--r--compiler/rustc_middle/messages.ftl4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_middle/messages.ftl b/compiler/rustc_middle/messages.ftl
index 4f4e5c6a2c9..bd9d89deee1 100644
--- a/compiler/rustc_middle/messages.ftl
+++ b/compiler/rustc_middle/messages.ftl
@@ -16,6 +16,10 @@ middle_limit_invalid =
     `limit` must be a non-negative integer
     .label = {$error_str}
 
+middle_recursion_limit_reached =
+    reached the recursion limit finding the struct tail for `{$ty}`
+    .help = consider increasing the recursion limit by adding a `#![recursion_limit = "{$suggested_limit}"]`
+
 middle_const_eval_non_int =
     constant evaluation of enum discriminant resulted in non-integer