pub fn with_origin<R>(origin: DefinitionOrigin, f: impl FnOnce() -> R) -> RExpand description
Run f with origin as the current definition origin.
pub fn with_origin<R>(origin: DefinitionOrigin, f: impl FnOnce() -> R) -> RRun f with origin as the current definition origin.