summaryrefslogtreecommitdiffstats
path: root/src/test/ui/type-alias-impl-trait/generic_duplicate_lifetime_param.stderr
blob: 222aaea78d9829a60638027746bcfeab425718f3 (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:9:5
   |
LL |     t
   |     ^
   |
note: lifetime used multiple times
  --> $DIR/generic_duplicate_lifetime_param.rs:5:10
   |
LL | type Two<'a, 'b> = impl std::fmt::Debug;
   |          ^^  ^^

error: aborting due to previous error