]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-90014.stderr
Rollup merge of #93112 - pietroalbini:pa-cve-2022-21658-nightly, r=pietroalbini
[rust.git] / src / test / ui / generic-associated-types / issue-90014.stderr
1 error[E0477]: the type `&mut ()` does not fulfill the required lifetime
2   --> $DIR/issue-90014.rs:14:20
3    |
4 LL |     type Fut<'a> = impl Future<Output = ()>;
5    |                    ^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7 note: type must outlive the lifetime `'a` as defined here
8   --> $DIR/issue-90014.rs:14:14
9    |
10 LL |     type Fut<'a> = impl Future<Output = ()>;
11    |              ^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0477`.