clippy_utils

Module hir_utils

source

Structs§

  • Type used to check whether two ast are the same. This is different from the operator == on ast types as this operator would compare true equality with ID and span.
  • Type used to hash an ast element. This is different from the Hash trait on ast types as this trait would consider IDs and spans.

Functions§

Type Aliases§

  • Callback that is called when two expressions are not equal in the sense of SpanlessEq, but other conditions would make them equal.