You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the following example, currently E0623 is disabled right now. This is how the error message will now look like.
fn foo<'a>(&self, x: &i32) -> &i32 {
// ----- ---- these references must have the same lifetime
if true { &self.field } else { x }
// ^ data from `x` is returned here
}