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
}
cc @nikomatsakis