mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-28 15:43:21 +00:00
88e39b2c2e
Catch overflow early Although this code should raise an overflow error, it didn't because [check_recursion_limit](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_trait_selection/traits/select/struct.SelectionContext.html#method.check_recursion_limit) it checks for `depth = 128` but not for `129` which should have triggered the overflow error. Anyways this catches that error early. Fixes #95134 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |