diff options
| author | bors <bors@rust-lang.org> | 2025-05-09 23:48:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-05-09 23:48:54 +0000 |
| commit | fd9fad6dbcc1bae3cba2a8634339ffa620a49f28 (patch) | |
| tree | 0c8238f7f690ead0038f7a3a5cc0920956ef336c /compiler/rustc_parse | |
| parent | dcecb99176edf2eec51613730937d21cdd5c8f6e (diff) | |
| parent | 505e78a29c6a267dae875c3055ad09d6329962af (diff) | |
| download | rust-fd9fad6dbcc1bae3cba2a8634339ffa620a49f28.tar.gz rust-fd9fad6dbcc1bae3cba2a8634339ffa620a49f28.zip | |
Auto merge of #140869 - matthiaskrgr:rollup-r5k19w6, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #139863 (rustdoc: Replace unstable flag `--doctest-compilation-args` with a simpler one: `--doctest-build-arg`) - #140815 (also export metrics from librustdoc) - #140819 (Add regression test for 125877) - #140843 (Fix `broken-pipe-no-ice` run-make test for rpath-less builds) - #140848 (Improved error message for top-level or-patterns) - #140852 (Update the edition guide for let chains) - #140864 (Last minute relnotes fix) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_parse')
| -rw-r--r-- | compiler/rustc_parse/messages.ftl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_parse/messages.ftl b/compiler/rustc_parse/messages.ftl index 3d7e0fcc308..f88c15785d3 100644 --- a/compiler/rustc_parse/messages.ftl +++ b/compiler/rustc_parse/messages.ftl @@ -690,8 +690,8 @@ parse_nul_in_c_str = null characters in C string literals are not supported parse_or_in_let_chain = `||` operators are not supported in let chain conditions -parse_or_pattern_not_allowed_in_fn_parameters = top-level or-patterns are not allowed in function parameters -parse_or_pattern_not_allowed_in_let_binding = top-level or-patterns are not allowed in `let` bindings +parse_or_pattern_not_allowed_in_fn_parameters = function parameters require top-level or-patterns in parentheses +parse_or_pattern_not_allowed_in_let_binding = `let` bindings require top-level or-patterns in parentheses parse_out_of_range_hex_escape = out of range hex escape .label = must be a character in the range [\x00-\x7f] |
