pub fn validate(s: &str) -> Result<(), InvalidDiagnosticCode>Expand description
Validate that s matches the diagnostic-code grammar.
pub fn validate(s: &str) -> Result<(), InvalidDiagnosticCode>Validate that s matches the diagnostic-code grammar.