pub fn same_type_modulo_regions<'tcx>(a: Ty<'tcx>, b: Ty<'tcx>) -> boolExpand description
Checks whether a and b are same types having same Const generic args, but ignores
lifetimes.
For example, the function would return true for
u32andu32[u8; N]and[u8; M], ifN=MOption<T>andOption<U>, ifsame_type_modulo_regions(T, U)holds&'a strand&'b str
and false for:
Result<u32, String>andResult<usize, String>