mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
a960f8304c
Deriving SessionDiagnostic on a type no longer forces that diagnostic to be one of warning, error, or fatal. The level is instead decided when the struct is passed to the respective Handler::emit_*() method.