Function ethers_solc::report::with_scoped
source · pub fn with_scoped<T>(report: &Report, f: impl FnOnce() -> T) -> T
Expand 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) -> T
Sets this reporter as the scoped reporter for the duration of a closure.