diff options
| author | bors <bors@rust-lang.org> | 2024-06-25 23:29:58 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-25 23:29:58 +0000 |
| commit | 31f8b70d2e18a0339c034e44c52aa3791c29f53c (patch) | |
| tree | bea0cd4144368aab7e965e7558a74f2e9e5ffc94 /compiler/rustc_ast_lowering/messages.ftl | |
| parent | fda509e817abeeecb5b76bc1de844f355675c81e (diff) | |
| parent | 812b8b42a1aa49957f9b339d2590d8ae175804ba (diff) | |
| download | rust-31f8b70d2e18a0339c034e44c52aa3791c29f53c.tar.gz rust-31f8b70d2e18a0339c034e44c52aa3791c29f53c.zip | |
Auto merge of #126951 - matthiaskrgr:rollup-xg0o4mc, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #126618 (Mark assoc tys live only if the corresponding trait is live) - #126746 (Deny `use<>` for RPITITs) - #126868 (not use offset when there is not ends with brace) - #126884 (Do not ICE when suggesting dereferencing closure arg) - #126893 (Eliminate the distinction between PREC_POSTFIX and PREC_PAREN precedence level) - #126915 (Don't suggest awaiting in closure patterns) - #126943 (De-duplicate all consecutive native libs regardless of their options) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_ast_lowering/messages.ftl')
| -rw-r--r-- | compiler/rustc_ast_lowering/messages.ftl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_ast_lowering/messages.ftl b/compiler/rustc_ast_lowering/messages.ftl index 52164d6ef16..58f65f1257f 100644 --- a/compiler/rustc_ast_lowering/messages.ftl +++ b/compiler/rustc_ast_lowering/messages.ftl @@ -130,6 +130,9 @@ ast_lowering_never_pattern_with_guard = ast_lowering_no_precise_captures_on_apit = `use<...>` precise capturing syntax not allowed in argument-position `impl Trait` +ast_lowering_no_precise_captures_on_rpitit = `use<...>` precise capturing syntax is currently not allowed in return-position `impl Trait` in traits + .note = currently, return-position `impl Trait` in traits and trait implementations capture all lifetimes in scope + ast_lowering_previously_used_here = previously used here ast_lowering_register1 = register `{$reg1_name}` |
