clippy_utils

Module ty

source
Expand description

Util methods for rustc_middle::ty

Modules§

  • A heuristic to tell whether an expression’s type can be determined purely from its subexpressions, and the arguments and locals they use. Put another way, expr_type_is_certain tries to tell whether an expression’s type can be determined without appeal to the surrounding context.

Structs§

Enums§

Functions§