about summary refs log tree commit diff
path: root/compiler/rustc_parse/messages.ftl
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-27 14:54:58 +0000
committerbors <bors@rust-lang.org>2023-11-27 14:54:58 +0000
commit9f15a889f0cfa8e407beaa3a44205de971572101 (patch)
treec737c1ccbe9c2db8cd63d335efcd54284741a160 /compiler/rustc_parse/messages.ftl
parentaa330518f47f26c627448832e2cae0a00c57a475 (diff)
parent215d84a8801a585b2ae99af15d2178d13901543c (diff)
downloadrust-9f15a889f0cfa8e407beaa3a44205de971572101.tar.gz
rust-9f15a889f0cfa8e407beaa3a44205de971572101.zip
Auto merge of #118370 - TaKO8Ki:rollup-qfilq2w, r=TaKO8Ki
Rollup of 4 pull requests

Successful merges:

 - #118095 (Enable the Arm Cortex-A53 errata mitigation on aarch64-unknown-none)
 - #118340 (Use helper functions in `pretty.rs` instead of accessing the `Cell`s manually)
 - #118358 (make const tests independent of std debug assertions)
 - #118359 (Suggest swapping the order of `ref` and `box`)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_parse/messages.ftl')
-rw-r--r--compiler/rustc_parse/messages.ftl3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_parse/messages.ftl b/compiler/rustc_parse/messages.ftl
index 49a2c414467..83bbfeb2805 100644
--- a/compiler/rustc_parse/messages.ftl
+++ b/compiler/rustc_parse/messages.ftl
@@ -721,6 +721,9 @@ parse_sugg_wrap_pattern_in_parens = wrap the pattern in parentheses
 parse_switch_mut_let_order =
     switch the order of `mut` and `let`
 
+parse_switch_ref_box_order = switch the order of `ref` and `box`
+    .suggestion = swap them
+
 parse_ternary_operator = Rust has no ternary operator
     .help = use an `if-else` expression instead