]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/generic_duplicate_lifetime_param.stderr
Rollup merge of #106716 - c410-f3r:rfc-2397-1, r=davidtwco
[rust.git] / tests / ui / type-alias-impl-trait / generic_duplicate_lifetime_param.stderr
1 error: non-defining opaque type use in defining scope
2   --> $DIR/generic_duplicate_lifetime_param.rs:12:5
3    |
4 LL |     t
5    |     ^
6    |
7 note: lifetime used multiple times
8   --> $DIR/generic_duplicate_lifetime_param.rs:9:10
9    |
10 LL | type Two<'a, 'b> = impl std::fmt::Debug + Captures<'a> + Captures<'b>;
11    |          ^^  ^^
12
13 error: aborting due to previous error
14