diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-06-11 13:48:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-11 13:48:09 +0200 |
| commit | 58d80b6d05c8d644eec07a7aad26af3c2355d761 (patch) | |
| tree | 36c0ef2d9500a0bf77d8bc2ae3c33c12d99c3173 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 471dee2ca82da247e314a66bd3d0e89bb1fec5ed (diff) | |
| parent | 3fce086d79afd9bc5b52a13e051934694cf196c1 (diff) | |
| download | rust-58d80b6d05c8d644eec07a7aad26af3c2355d761.tar.gz rust-58d80b6d05c8d644eec07a7aad26af3c2355d761.zip | |
Rollup merge of #142042 - estebank:explicit-lifetime-verbose-suggestion, r=compiler-errors
Make E0621 missing lifetime suggestion verbose
```
error[E0621]: explicit lifetime required in the type of `x`
--> $DIR/42701_one_named_and_one_anonymous.rs:10:9
|
LL | &*x
| ^^^ lifetime `'a` required
|
help: add explicit lifetime `'a` to the type of `x`
|
LL | fn foo2<'a>(a: &'a Foo, x: &'a i32) -> &'a i32 {
| ++
```
Part of rust-lang/rust#141973.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
