pub enum DiagnosticLayer {
Lexical,
Structural,
Semantic,
Warning,
OperationalMaterialization,
Meta,
}Expand description
The layer a diagnostic belongs to — the first axis of the T13 comparison method
(docs/zic-warning-parity.md). Recorded as a machine-checkable accessor so the taxonomy cannot
silently drift from the doc.
Variants§
Lexical
The byte/line stream is not well-formed zic text (NUL, overlong, unknown keyword, field count).
Structural
Lines are well-formed but don’t assemble into a valid record graph (continuation/duplicate/…).
Semantic
A field/value is individually invalid or unrepresentable (month, day-rule, time, value, …).
Warning
Accepted, but a portability/obsolescence/client-compat hazard (-v-style warnings).
OperationalMaterialization
Caused by output materialization, not the source text (path traversal, no-clobber, mode,
alias-map validation). A diagnostic, but not a source zic -v diagnostic (T13.5).
Meta
Tool-level / oracle meta (e.g. a compare mismatch), not a source diagnostic.
Trait Implementations§
Source§impl Clone for DiagnosticLayer
impl Clone for DiagnosticLayer
Source§fn clone(&self) -> DiagnosticLayer
fn clone(&self) -> DiagnosticLayer
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DiagnosticLayer
Source§impl Debug for DiagnosticLayer
impl Debug for DiagnosticLayer
impl Eq for DiagnosticLayer
Source§impl PartialEq for DiagnosticLayer
impl PartialEq for DiagnosticLayer
Source§fn eq(&self, other: &DiagnosticLayer) -> bool
fn eq(&self, other: &DiagnosticLayer) -> bool
self and other values to be equal, and is used by ==.