about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-06-04 21:10:27 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-06-09 19:55:00 +0000
commit3fce086d79afd9bc5b52a13e051934694cf196c1 (patch)
tree4c4748953f8d47f644596cfc6e0433f668f90132 /compiler/rustc_codegen_llvm/src/errors.rs
parent00b526212bbdd68872d6f964fcc9a14a66c36fd8 (diff)
downloadrust-3fce086d79afd9bc5b52a13e051934694cf196c1.tar.gz
rust-3fce086d79afd9bc5b52a13e051934694cf196c1.zip
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 {
   |                             ++
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions