summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/different_lifetimes_defining_uses.stderr
blob: 546598e8a5c993bdd7bb8265c9a4dd84d73a5b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: concrete type differs from previous defining opaque type use
  --> $DIR/different_lifetimes_defining_uses.rs:15:5
   |
LL |     b
   |     ^ expected `&'a u32`, got `&'b u32`
   |
note: previous use here
  --> $DIR/different_lifetimes_defining_uses.rs:11:5
   |
LL |     a
   |     ^

error: aborting due to previous error