]>
Commit | Line | Data |
---|---|---|
3c0e092e | 1 | error[E0477]: the type `&mut ()` does not fulfill the required lifetime |
a2a8927a | 2 | --> $DIR/issue-90014.rs:14:20 |
3c0e092e | 3 | | |
5099ac24 | 4 | LL | type Fut<'a> where Self: 'a; |
064997fb | 5 | | ------------ definition of `Fut` from trait |
5099ac24 | 6 | ... |
3c0e092e | 7 | LL | type Fut<'a> = impl Future<Output = ()>; |
5e7ed085 | 8 | | ^^^^^^^^^^^^^^^^^^^^^^^^- help: try copying this clause from the trait: `where Self: 'a` |
3c0e092e XL |
9 | | |
10 | note: type must outlive the lifetime `'a` as defined here | |
11 | --> $DIR/issue-90014.rs:14:14 | |
12 | | | |
13 | LL | type Fut<'a> = impl Future<Output = ()>; | |
14 | | ^^ | |
15 | ||
16 | error: aborting due to previous error | |
17 | ||
18 | For more information about this error, try `rustc --explain E0477`. |