about summary refs log tree commit diff
path: root/tests/ui/type-alias-impl-trait/multiple-def-uses-in-one-fn-lifetimes.stderr
blob: 03f2b1c532a00cbf60fc2927f808b605ea8a8e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: opaque type used twice with different lifetimes
  --> $DIR/multiple-def-uses-in-one-fn-lifetimes.rs:7:5
   |
LL |     (i, j)
   |     ^^^^^^
   |     |
   |     lifetime `'x` used here
   |     lifetime `'y` previously used here
   |
note: if all non-lifetime generic parameters are the same, but the lifetime parameters differ, it is not possible to differentiate the opaque types
  --> $DIR/multiple-def-uses-in-one-fn-lifetimes.rs:7:5
   |
LL |     (i, j)
   |     ^^^^^^

error: aborting due to 1 previous error