def_id_as_synthetic

Function def_id_as_synthetic 

Source
pub fn def_id_as_synthetic<'tcx>(
    def_id: DefId,
    s: &impl BaseState<'tcx>,
) -> Option<SyntheticItem>
Expand description

Returns the SyntheticItem encoded by a rustc DefId, if any.