Crate rustc_ty_utils

source ·
Expand description

Various checks

Note

This API is completely unstable and subject to change.

Modules

assoc 🔒
Queries for checking whether a type implements one of a few common traits.
consts 🔒
errors 🔒
Errors emitted by ty_utils
needs_drop 🔒
Check whether a type has (potentially) non-trivial drop glue.
Check whether a type is representable.
ty 🔒

Functions