mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 02:49:25 +00:00
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.