macro_rules! register_diagnostics {
    ($($ecode:ident: $message:expr,)*) => { ... };
}