bors 3ff1b6410e Auto merge of #135167 - mzacho:depth-limit-const-eval-query, r=oli-obk
Depth limit const eval query

Currently the const-eval query doesn't have a recursion limit or timeout, causing the complier to freeze in an infinite loop, see #125718. This PR depth limits the `eval_to_const_value_raw` query (with the [`recursion_limit`](https://doc.rust-lang.org/reference/attributes/limits.html) attribute) and improves the diagnostics for query overflow errors, so spans are reported for other dep kinds than `layout_of` (e.g. `eval_to_const_value_raw`).

fixes #125718
fixes #114192
2025-01-13 10:18:26 +00:00
..
2024-11-03 18:59:31 +00:00
2024-11-22 02:32:26 +00:00
2024-11-22 02:32:26 +00:00
2024-11-22 02:32:26 +00:00
2024-11-22 02:32:26 +00:00
2024-10-12 17:07:13 -04:00
2024-10-12 17:07:13 -04:00
2024-12-25 10:36:32 +01:00
2024-10-07 16:29:52 +00:00
2024-11-01 16:53:36 +08:00
2024-11-16 22:50:22 +01:00
2025-01-06 17:54:59 +01:00
2025-01-06 17:54:59 +01:00