☰
In rustc_resolve::diagnostics
In rustc_resolve::diagnostics
Structs
ImportSuggestion
TypoSuggestion
UsePlacementFinder
Enums
FoundUse
Instead
IsPattern
SuggestionTarget
Functions
extend_span_to_previous_binding
find_span_immediately_after_crate_name
find_span_of_binding_until_next_binding
is_span_suitable_for_use_injection
ordinalize
reduce_impl_span_to_impl_keyword
search_for_any_use_in_items
show_candidates
Type Definitions
LabelSuggestion
Res
Suggestion
?
Function
rustc_resolve
::
diagnostics
::
ordinalize
source
·
[
−
]
pub(crate) fn ordinalize(v:
usize
) ->
String
Expand description
Convert the given number into the corresponding ordinal