Function foundry_compilers::report::with_scoped
source ยท pub fn with_scoped<T>(report: &Report, f: impl FnOnce() -> T) -> TExpand description
Sets this reporter as the scoped reporter for the duration of a closure.
pub fn with_scoped<T>(report: &Report, f: impl FnOnce() -> T) -> TSets this reporter as the scoped reporter for the duration of a closure.