]> git.proxmox.com Git - rustc.git/blob - tests/ui/nll/user-annotations/region-error-ice-109072.stderr
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / nll / user-annotations / region-error-ice-109072.stderr
1 error[E0261]: use of undeclared lifetime name `'missing`
2 --> $DIR/region-error-ice-109072.rs:8:9
3 |
4 LL | impl Lt<'missing> for () {
5 | - ^^^^^^^^ undeclared lifetime
6 | |
7 | help: consider introducing lifetime `'missing` here: `<'missing>`
8
9 error[E0261]: use of undeclared lifetime name `'missing`
10 --> $DIR/region-error-ice-109072.rs:9:15
11 |
12 LL | type T = &'missing ();
13 | ^^^^^^^^ undeclared lifetime
14 |
15 help: consider introducing lifetime `'missing` here
16 |
17 LL | type T<'missing> = &'missing ();
18 | ++++++++++
19 help: consider introducing lifetime `'missing` here
20 |
21 LL | impl<'missing> Lt<'missing> for () {
22 | ++++++++++
23
24 error: aborting due to 2 previous errors
25
26 For more information about this error, try `rustc --explain E0261`.