rustc_trait_selection::infer::canonical::ir

Module data_structures

Structs§

  • A hashmap which only starts hashing after ignoring the first few inputs.
  • A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
  • Small-storage-optimized implementation of a set.

Enums§

  • Small-storage-optimized implementation of a map.

Functions§

  • Grows the stack on demand to prevent stack overflow. Call this in strategic locations to “break up” recursive calls. E.g. almost any call to visit_expr or equivalent can benefit from this.

Type Aliases§