summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/multiple-def-uses-in-one-fn-lifetimes.stderr
blob: 552cf3fda300041d44312685715fe5306555281f (plain)
1
2
3
4
5
6
7
8
9
10
11
error: concrete type differs from previous defining opaque type use
  --> $DIR/multiple-def-uses-in-one-fn-lifetimes.rs:6:5
   |
LL |     (i, i)
   |     ^^^^^^
   |     |
   |     expected `&'a i32`, got `&'b i32`
   |     this expression supplies two conflicting concrete types for the same opaque type

error: aborting due to 1 previous error