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
2024-08-18 17:00:33 -04:00
2024-08-18 17:00:33 -04:00
2025-08-01 20:04:59 +00:00
2025-01-13 09:38:04 +01:00
2024-04-25 22:14:47 +03:00
2024-04-25 22:14:47 +03:00
2024-04-25 22:14:47 +03:00
2024-04-25 22:14:47 +03:00
2024-04-25 22:14:47 +03:00
2024-06-13 16:04:31 +02:00
2024-06-13 16:04:31 +02:00
2024-04-25 22:14:47 +03:00
2024-04-25 22:14:47 +03:00
2024-04-25 22:14:47 +03: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
2024-08-18 16:58:26 -04: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-08-19 17:10:43 -07:00
2024-02-22 16:04:04 +00:00
2023-01-11 09:32:08 +00:00
2024-12-04 23:03:44 +01:00
2023-01-11 09:32:08 +00: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
2024-07-09 03:47:50 +01:00
2024-02-22 16:04:04 +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-02-22 16:04:04 +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-08-18 16:58:25 -04: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
2024-08-18 16:58:26 -04:00
2025-08-01 20:04:59 +00:00
2024-08-18 16:58:26 -04:00
2024-08-18 16:58:26 -04: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-08-18 16:58:26 -04: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
2023-01-11 09:32:08 +00:00
2024-08-16 21:14:45 -04:00
2024-02-22 16:04:04 +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
2024-02-22 16:04:04 +00:00
2024-08-18 16:58:26 -04: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
2024-02-22 16:04:04 +00:00
2025-01-02 15:21:41 +03:00
2025-08-01 20:04:59 +00:00
2024-03-15 20:30:45 +01: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
2024-03-29 18:02:26 -06:00
2025-03-04 10:06:28 -05:00
2024-08-18 12:39:07 -04:00
2024-02-22 16:04:04 +00:00
2024-08-18 17:00:33 -04:00
2025-02-12 01:30:09 -06:00
2024-08-18 16:58:26 -04:00
2024-11-17 00:42:30 +08:00
2024-08-18 16:58:25 -04: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
2024-08-18 17:00:33 -04:00
2024-02-22 16:04:04 +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
2024-08-18 16:58:26 -04: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-04-25 22:14:47 +03:00
2024-04-25 22:14:47 +03: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
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2024-08-16 21:14:45 -04: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
2023-01-11 09:32:08 +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