]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/generic_duplicate_lifetime_param.stderr
Rollup merge of #106732 - durin42:dmitrig-arrayref-ctor, r=nikic
[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