Function clippy_lints::utils::same_tys
[−]
[src]
pub fn same_tys<'a, 'tcx>(cx: &LateContext<'a, 'tcx>,
a: Ty<'tcx>,
b: Ty<'tcx>,
parameter_item: NodeId)
-> bool
Check if two types are the same.