Module rustc_middle::ty::util

source ·
Expand description

Miscellaneous type-system utilities that are too small to deserve their own modules.

Structs

Enums

Statics

CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
META 🔒
META 🔒
META 🔒
META 🔒

Traits

Functions

Does the equivalent of
Determines whether an item is annotated with doc(hidden).
Determines whether an item is annotated with doc(notable_trait).
Determines whether an item is an intrinsic by Abi.
Returns a list of types such that the given type needs drop if and only if any of the returned types need drop. Returns Err(AlwaysRequiresDrop) if this type always needs drop.
Reveals all opaque types in the given value, replacing them with their underlying types.

Opaque Types

 🔒