You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `Handler` functions that directly emit diagnostics can be more
easily implemented using `struct_foo(msg).emit()`. This mirrors
`Handler::emit_err` which just does `create_err(err).emit()`.
One nice side-effect is that this removes the need for the `panic_any`
call in `Handler::bug`, because the `emit` call does the panic. (This
required adding `Handler::struct_bug`, which was missing.)
0 commit comments