Module rustc_ty_utils::ty

source ·

Functions

Calculates the Sized constraint.
asyncness 🔒
Check if a function is async.
Don’t call this directly: use tcx.conservative_is_privately_uninhabited instead.
If def_id is an issue 33140 hack impl, returns its self type; otherwise, returns None.
param_env 🔒
See ParamEnv struct definition for details.
Elaborate the environment.