This patch adds a `MirPass` that tracks the number of back-edges and function calls in the CFG, adds a new MIR instruction to increment a counter every time they are encountered during Const Eval, and emit a warning if a configured limit is breached. |
||
|---|---|---|
| .. | ||
| framework | ||
| impls | ||
| move_paths | ||
| drop_flag_effects.rs | ||
| elaborate_drops.rs | ||
| errors.rs | ||
| lib.rs | ||
| rustc_peek.rs | ||
| storage.rs | ||
| un_derefer.rs | ||
| value_analysis.rs | ||