1 2 3 4 5 6 7 8 9 10
//! Error: catch all requires |binding| not (binding) use handle_this::handle; fn main() { let _ = handle! { try { Err::<i32, String>("error".into())? } catch all String(e) { 0 } // should be |e| not (e) }; }