pub(crate) fn enter_impl_trait<'tcx, F, R>(cx: &mut DocContext<'tcx>, f: F) -> Rwhere
    F: FnOnce(&mut DocContext<'tcx>) -> R,