Skip to main content

Crate rustc_ty_utils

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.
nested_bodies ๐Ÿ”’
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 ๐Ÿ”’

Functionsยง

provide