Function ethers_solc::report::with_global
source · pub fn with_global<T>(f: impl FnOnce(&Report) -> T) -> Option<T>
Expand description
Executes a closure with a reference to the Reporter
.
pub fn with_global<T>(f: impl FnOnce(&Report) -> T) -> Option<T>
Executes a closure with a reference to the Reporter
.