Expand description
Run a pre-mono THIR pass on the current crate. In THIR, all operator overloads have been resolved to a function call, but we still may have uninstantiated generic functions.
This exists to give useful diagnostics without having to wait all the way until monomorphization to give any feedback at all. This matters a lot for core, which has a bunch of generic functions.
This pass works an item-at-a-time, with little shared state.
Structsยง
- Lint
Thir ๐
Functionsยง
- contains_
unknown_ ๐fn - Used to check whether a
constorstatichas a function pointer callable at runtime.