summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/generic_duplicate_lifetime_param.stderr
blob: 72e1ef4b4923be4fb9d2ff990c3c1f28780d4fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: non-defining opaque type use in defining scope
  --> $DIR/generic_duplicate_lifetime_param.rs:12:5
   |
LL |     t
   |     ^
   |
note: lifetime used multiple times
  --> $DIR/generic_duplicate_lifetime_param.rs:9:10
   |
LL | type Two<'a, 'b> = impl std::fmt::Debug + Captures<'a> + Captures<'b>;
   |          ^^  ^^

error: aborting due to previous error