Crate rustc_ty_utils

Source
Expand description

Various checks

§Note

This API is completely unstable and subject to change.

Modules§

abi 🔒
assoc 🔒
common_traits 🔒
Queries for checking whether a type implements one of a few common traits.
consts 🔒
errors 🔒
Errors emitted by ty_utils
implied_bounds 🔒
instance 🔒
layout 🔒
needs_drop 🔒
Check whether a type has (potentially) non-trivial drop glue.
opaque_types 🔒
representability 🔒
sig_types
This module contains helpers for walking all types of a signature, while preserving spans as much as possible
structural_match 🔒
ty 🔒

Statics§

DEFAULT_LOCALE_RESOURCE
Raw content of Fluent resource for this crate, generated by fluent_messages macro, imported by rustc_driver to include all crates’ resources in one bundle.

Functions§

provide