let _x = 12;
// ERROR: `_x` does not live long enough
- //let y: &'a i32 = &_x;
+ let y: &'a i32 = &_x;
// Attempting to use the lifetime `'a` as an explicit type annotation
// inside the function will fail because the lifetime of `&_x` is shorter
// than that of `y`. A short lifetime cannot be coerced into a longer one.