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