summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/multiple-def-uses-in-one-fn2.stderr
blob: 0f752212ac9c6c9c10c2e04f3e8b51d7d647c8af (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-fn2.rs:10:5
   |
LL |     (a.clone(), a)
   |     ^^^^^^^^^^^^^^
   |     |
   |     expected `A`, got `B`
   |     this expression supplies two conflicting concrete types for the same opaque type

error: aborting due to previous error