Module utils

Source

Constants§

DOC_RUST_LANG_ORG_VERSION 🔒
A link to doc.rust-lang.org that includes the channel name. Use this instead of manual links so that the channel is consistent.

Statics§

RUSTDOC_VERSION 🔒

Functions§

attrs_have_doc_flag 🔒
build_deref_target_impls 🔒
can_elide_generic_arg 🔒
Check if the generic argument actual coincides with the default and can therefore be elided.
clean_middle_generic_args 🔒
clean_middle_generic_args_with_constraints 🔒
clean_middle_path 🔒
display_macro_source 🔒
enter_impl_trait 🔒
find_nearest_parent_module 🔒
Find the nearest parent module of a DefId.
format_integer_with_underscore_sep 🔒
has_doc_flag 🔒
Checks for the existence of hidden in the attribute below if flag is sym::hidden:
inherits_doc_hidden 🔒
is_literal_expr 🔒
krate 🔒
name_from_pat 🔒
print_const 🔒
print_const_with_custom_print_scalar 🔒
print_evaluated_const 🔒
qpath_to_string 🔒
register_res 🔒
If res has a documentation page associated, store it in the cache.
render_macro_arms 🔒
Render a sequence of macro arms in a format suitable for displaying to the user as part of an item declaration.
resolve_type 🔒
Given a type Path, resolve it to a Type using the TyCtxt
resolve_use_source 🔒
should_ignore_res 🔒
synthesize_auto_trait_and_blanket_impls 🔒