Gary Guo
|
223f58085a
|
Remove is_const_fn in find_mir_or_eval_fn
|
2021-10-27 07:21:28 +01:00 |
|
Gary Guo
|
cc4345a1c5
|
Clean up special function const checks
Mark them as const and `#[rustc_do_not_const_check]` instead of hard-coding
them in const-eval checks.
|
2021-10-25 17:32:01 +01:00 |
|
Yuki Okushi
|
f7024998c7
|
Rollup merge of #88860 - nbdd0121:panic, r=m-ou-se
Deduplicate panic_fmt
std's begin_panic_fmt and core's panic_fmt are duplicates. Merge them to declutter code and remove a lang item.
|
2021-10-20 04:35:14 +09:00 |
|
Gary Guo
|
9370156957
|
Deduplicate panic_fmt
std's begin_panic_fmt and core's panic_fmt are duplicates.
Merge them to declutter code and remove a lang item.
|
2021-10-19 15:02:21 +01:00 |
|
Deadbeef
|
5387b6542f
|
Add const_eval_select intrinsic
|
2021-10-12 05:42:23 +00:00 |
|
Gary Guo
|
11c0e58c74
|
Allow panic!("{}", computed_str) in const fn.
|
2021-09-15 21:56:43 +01:00 |
|
Camille GILLOT
|
c5fc2609f0
|
Rename rustc_mir to rustc_const_eval.
|
2021-09-07 20:46:26 +02:00 |
|