☰
rustc_error_messages
1.75.0-dev
Macros
langid
Structs
DelayDm
FluentArgs
LanguageIdentifier
MultiSpan
SpanLabel
Enums
DiagnosticMessage
FluentError
FluentValue
SubdiagnosticMessage
TranslationBundleError
Statics
DEFAULT_LOCALE_RESOURCE
Traits
FluentType
Functions
fallback_fluent_bundle
fluent_bundle
fluent_value_from_str_list_sep_by_and
icu_locale_from_unic_langid
new_bundle
register_functions
Type Aliases
FluentBundle
FluentId
LazyFallbackBundle
?
Function
rustc_error_messages
::
icu_locale_from_unic_langid
source
·
[
−
]
pub(crate) fn icu_locale_from_unic_langid( lang:
LanguageIdentifier
) ->
Option
<
Locale
>