about summary refs log tree commit diff
path: root/compiler/rustc_attr_parsing/messages.ftl
diff options
context:
space:
mode:
authorJana Dönszelmann <jana@donsz.nl>2025-08-24 10:56:41 +0200
committerJana Dönszelmann <jana@donsz.nl>2025-09-08 14:57:28 -0700
commit92f24020967e4e1f1375dbb2d1ba85cd4430fc78 (patch)
treeb33c126439de4bbf1182cbd73f46aedf7a1ed391 /compiler/rustc_attr_parsing/messages.ftl
parenta78f9aa87fa828ad4a5c11f1e3b93e94d9352ad6 (diff)
downloadrust-92f24020967e4e1f1375dbb2d1ba85cd4430fc78.tar.gz
rust-92f24020967e4e1f1375dbb2d1ba85cd4430fc78.zip
port `#[recursion_limit]` to the new attribute parsing infrastructure
Diffstat (limited to 'compiler/rustc_attr_parsing/messages.ftl')
-rw-r--r--compiler/rustc_attr_parsing/messages.ftl4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_attr_parsing/messages.ftl b/compiler/rustc_attr_parsing/messages.ftl
index 7fa1293463c..839a5d23c3b 100644
--- a/compiler/rustc_attr_parsing/messages.ftl
+++ b/compiler/rustc_attr_parsing/messages.ftl
@@ -247,3 +247,7 @@ attr_parsing_raw_dylib_only_windows =
 
 attr_parsing_whole_archive_needs_static =
     linking modifier `whole-archive` is only compatible with `static` linking kind
+
+attr_parsing_limit_invalid =
+    `limit` must be a non-negative integer
+    .label = {$error_str}