about summary refs log tree commit diff
path: root/compiler/rustc_interface/messages.ftl
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-02-07 16:19:05 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-02-17 09:30:39 +1100
commit223c95fd59f361ff482bf26434900fc8f72fbe04 (patch)
tree854df1d9cea4773e4741de1897b0c2dc5d5d9a6f /compiler/rustc_interface/messages.ftl
parent13280eed6a04b94efa3702733d733f5496f60d27 (diff)
downloadrust-223c95fd59f361ff482bf26434900fc8f72fbe04.tar.gz
rust-223c95fd59f361ff482bf26434900fc8f72fbe04.zip
Move `rustc_middle::limits` to `rustc_interface`.
It's always good to make `rustc_middle` smaller. `rustc_interface` is
the best destination, because it's the only crate that calls
`get_recursive_limit`.
Diffstat (limited to 'compiler/rustc_interface/messages.ftl')
-rw-r--r--compiler/rustc_interface/messages.ftl4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_interface/messages.ftl b/compiler/rustc_interface/messages.ftl
index 43c69c8e571..adc7ed54e14 100644
--- a/compiler/rustc_interface/messages.ftl
+++ b/compiler/rustc_interface/messages.ftl
@@ -33,6 +33,10 @@ interface_ignoring_out_dir = ignoring --out-dir flag due to -o flag
 interface_input_file_would_be_overwritten =
     the input file "{$path}" would be overwritten by the generated executable
 
+interface_limit_invalid =
+    `limit` must be a non-negative integer
+    .label = {$error_str}
+
 interface_mixed_bin_crate =
     cannot mix `bin` crate type with others