Matthias Krüger
0e08d7002b
Rollup merge of #130715 - compiler-errors:mir-build-const-eval, r=BoxyUwU
...
Replace calls to `ty::Const::{try_}eval` in mir build/pattern analysis
We normalize consts in writeback: #130645 . This means that consts are gonna be as normalized as they're ever gonna get in MIR building and pattern analysis. Therefore we can just use `try_to_target_usize` rather than calling `eval_target_usize`.
Regarding the `.expect` calls, I'm not totally certain whether they're correct given rigid unevaluated consts. But this PR shouldn't make *more* ICEs occur; we may have to squash these ICEs when mGCE comes around, tho 😺
2024-09-23 06:45:36 +02:00
..
2024-09-22 19:11:29 -04:00
2024-09-13 15:33:19 +10:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-23 02:02:22 +00:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-21 13:09:09 +02:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-23 06:45:34 +02:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-23 06:45:36 +02:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-23 06:45:36 +02:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 05:26:41 +00:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-23 06:45:36 +02:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-23 06:45:36 +02:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-23 06:45:33 +02:00
2024-09-22 19:11:29 -04:00
2024-09-23 06:45:36 +02:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00