rustc_mir_build::thir::pattern::const_to_pat

Function type_has_partial_eq_impl

Source
fn type_has_partial_eq_impl<'tcx>(
    tcx: TyCtxt<'tcx>,
    typing_env: TypingEnv<'tcx>,
    ty: Ty<'tcx>,
) -> (bool, bool, bool, Option<DefId>)