Function rustc_middle::ty::is_impl_trait_defn
source · pub fn is_impl_trait_defn(tcx: TyCtxt<'_>, def_id: DefId) -> Option<LocalDefId>
Expand description
Yields the parent function’s LocalDefId
if def_id
is an impl Trait
definition.