Consider lifetimes when comparing types for equality in MIR validator Closes #95978 .
parallel_compiler
For more information about how rustc works, see the rustc dev guide.