Jacob Pratt
537d5f40a6
Rollup merge of #145297 - adwinwhite:recursive-debuginfo, r=wesleywiser
...
fix(debuginfo): handle false positives in overflow check
Fixes rust-lang/rust#144636 .
Duplicate wrappers and normal recursive types can lead to false positives.
```rust
struct Recursive {
a: Box<Box<Recursive>>,
}
```
The ADT stack can be:
- `Box<Recursive>`
- `Recursive`
- `Box<Box<Recursive>>` (`Box` now detected as expanding)
We can filter them out by tracing the generic arg back through the stack, as true expanding recursive types must have their expanding arg used as generic arg throughout.
r? ````@wesleywiser````
2025-08-21 01:12:16 -04:00
..
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-07-26 13:06:21 +02:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-01-13 09:38:04 +01:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2024-10-21 11:40:12 -07:00
2025-04-10 09:56:37 +02:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-04-17 18:52:57 +08:00
2024-12-04 23:03:44 +01:00
2024-12-04 23:03:44 +01:00
2025-08-06 18:00:58 +00:00
2025-02-12 01:30:09 -06:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-01-13 09:38:04 +01:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-01-13 09:38:04 +01:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-05-28 15:14:34 +01:00
2025-08-01 20:04:59 +00:00
2025-05-22 14:06:24 -07:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-01-02 15:21:41 +03:00
2025-08-01 20:04:59 +00:00
2024-11-17 04:16:59 +08:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-03-04 10:06:28 -05:00
2025-02-12 01:30:09 -06:00
2024-11-17 00:42:30 +08:00
2025-08-01 20:04:59 +00:00
2025-08-12 17:13:13 +08:00
2025-06-16 23:04:33 +00:00
2025-08-01 20:04:59 +00:00
2025-01-02 15:21:41 +03:00
2025-01-02 15:21:41 +03:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-05-07 10:49:54 -07:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-01-14 13:37:25 +01:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2024-11-17 00:50:54 +08:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2025-08-01 20:04:59 +00:00
2024-09-06 23:12:18 +00:00