| lifetime `'a` defined here
LL |
LL | if x > y { x } else { y }
- | ^ method was supposed to return data with lifetime `'a` but it is returning data with lifetime `'1`
+ | ^ associated function was supposed to return data with lifetime `'a` but it is returning data with lifetime `'1`
error: aborting due to previous error