about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-04-23 17:25:14 +0200
committerGitHub <noreply@github.com>2024-04-23 17:25:14 +0200
commit80f2b91b20a445b553b3dd3958624fc6ed1b08a1 (patch)
tree49f738142f39c8074971685d98dbbf43625d5d24 /compiler/rustc_codegen_llvm/src
parentad07aa12c99698f810d730d7b5a49704c729651d (diff)
parent31e581ec1201aac9a3475b16d2100a3ddd35e2e3 (diff)
downloadrust-80f2b91b20a445b553b3dd3958624fc6ed1b08a1.tar.gz
rust-80f2b91b20a445b553b3dd3958624fc6ed1b08a1.zip
Rollup merge of #120929 - long-long-float:wrap-dyn-in-suggestion, r=fmease
Wrap dyn type with parentheses in suggestion

Close #120223

Fix wrong suggestion that is grammatically incorrect.
Specifically, I added parentheses to dyn types that need lifetime bound.

```
help: consider adding an explicit lifetime bound
  |
4 |     executor: impl FnOnce(T) -> (dyn Future<Output = ()>) + 'static,
  |                                 +                       +++++++++++
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions