Constants
A link to
doc.rust-lang.org
that includes the channel name. Use this instead of manual links
so that the channel is consistent.Functions
Find the nearest parent module of a
DefId
.Checks for the existence of
hidden
in the attribute below if flag
is sym::hidden
:krate 🔒
Build a textual representation of an unevaluated constant expression.
If
res
has a documentation page associated, store it in the cache.Render a sequence of macro arms in a format suitable for displaying to the user
as part of an item declaration.
Given a type Path, resolve it to a Type using the TyCtxt
Remove the generic arguments from a path.