Expand description
This module contains paths to types and functions Clippy needs to know about.
Whenever possible, please consider diagnostic items over hardcoded paths. See https://github.com/rust-lang/rust-clippy/issues/5393 for more information.
Macrosยง
- path_
macros ๐
Structsยง
- Path
Lookup - Lazily resolves a path into a list of
DefId
s usinglookup_path
.
Enumsยง
- PathNS
- Specifies whether to resolve a path in the
TypeNS
,ValueNS
,MacroNS
or in an arbitrary namespace
Staticsยง
- ALIGN_
OF - CHAR_
TO_ DIGIT - CONCAT
- FUTURES_
IO_ ASYNCREADEXT - FUTURES_
IO_ ASYNCWRITEEXT - IO_
ERRORKIND_ OTHER_ CTOR - IO_
ERROR_ NEW - ITERTOOLS_
NEXT_ TUPLE - ITER_
STEP - LAZY_
STATIC - ONCE_
CELL_ SYNC_ LAZY - ONCE_
CELL_ SYNC_ LAZY_ NEW - PARKING_
LOT_ GUARDS - REGEX_
BUILDER_ NEW - REGEX_
BYTES_ BUILDER_ NEW - REGEX_
BYTES_ NEW - REGEX_
BYTES_ SET_ NEW - REGEX_
NEW - REGEX_
SET_ NEW - SERDE_
DESERIALIZE - SERDE_
DE_ VISITOR - SLICE_
FROM_ REF - TOKIO_
FILE_ OPTIONS - TOKIO_
IO_ ASYNCREADEXT - TOKIO_
IO_ ASYNCWRITEEXT - TOKIO_
IO_ OPEN_ OPTIONS - TOKIO_
IO_ OPEN_ OPTIONS_ NEW
Functionsยง
- find_
crates - Finds the crates called
name
, may be multiple due to multiple major versions. - find_
primitive_ ๐impls - item_
child_ ๐by_ name - local_
item_ ๐child_ by_ name - lookup_
path - Resolves a def path like
std::vec::Vec
. - lookup_
path_ str - Equivalent to a
lookup_path
after splitting the input string on::
- lookup_
with_ ๐base - Resolves a def path like
vec::Vec
with the basestd
. - non_
local_ ๐item_ child_ by_ name