Skip to main content

classify_unsupported_feature_code

Function classify_unsupported_feature_code 

Source
pub fn classify_unsupported_feature_code(feature: &str) -> DiagnosticCode
Expand description

Return just the DiagnosticCode for an unsupported feature string.

Used by CompatError::code() to avoid exposing tier/suggestion details at the error level.