Trait move_compiler::diagnostics::codes::DiagnosticCode
source · [−]pub trait DiagnosticCode: Copy {
const CATEGORY: Category;
fn severity(self) -> Severity;
fn code_and_message(self) -> (u8, &'static str);
fn into_info(self) -> DiagnosticInfo { ... }
}