about summary refs log tree commit diff
path: root/src/test/ui/recursion/issue-83150.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-13/+0
2022-11-18On overflow errors, do not print out long typesEsteban Küber-1/+2
2022-06-30Specialize a few tests depending on opt-level.Camille GILLOT-1/+2
2022-06-30Allow inlining `#[inline]` functions.Camille GILLOT-1/+1
2022-05-11Gracefully fail to resolve associated items instead of `delay_span_bug`.Camille GILLOT-1/+1
2022-01-26Ignore unwinding edges when checking for unconditional recursionTomasz Miąsko-1/+1
The unconditional recursion lint determines if all execution paths eventually lead to a self-recursive call. The implementation always follows unwinding edges which limits its practical utility. For example, it would not lint function `f` because a call to `g` might unwind. It also wouldn't lint function `h` because an overflow check preceding the self-recursive call might unwind: ```rust pub fn f() { g(); f(); } pub fn g() { /* ... */ } pub fn h(a: usize) { h(a + 1); } ``` To avoid the issue, assume that terminators that might continue execution along non-unwinding edges do so.
2021-03-31prevent very long compilation runtimes in LateBoundRegionNameCollectorb-naber-0/+11