Function clippy_utils::ty::same_type_and_consts
source ยท pub fn same_type_and_consts<'tcx>(a: Ty<'tcx>, b: Ty<'tcx>) -> bool
Expand description
Returns true
if types a
and b
are same types having same Const
generic args,
otherwise returns false