Trait move_lang::diagnostics::codes::DiagnosticCode
source · pub trait DiagnosticCode: Copy {
const CATEGORY: Category;
// Required methods
fn severity(self) -> Severity;
fn code_and_message(self) -> (u8, &'static str);
// Provided method
fn into_info(self) -> DiagnosticInfo { ... }
}