rust/compiler/rustc_hir/src
bors c34ac8747c Auto merge of #89247 - fee1-dead:const-eval-select, r=oli-obk
Add `const_eval_select` intrinsic

Adds an intrinsic that calls a given function when evaluated at compiler time, but generates a call to another function when called at runtime.

See https://github.com/rust-lang/const-eval/issues/7 for previous discussion.

r? `@oli-obk.`
2021-10-14 10:06:30 +00:00
..
arena.rs Do not store visibility in *ItemRef. 2021-09-20 00:29:53 +02:00
def_path_hash_map.rs Use on-disk-hash-table format for DefPathHashMap in hir::definitions. 2021-09-14 13:54:41 +02:00
def.rs rustc: Remove local variable IDs from Exports 2021-09-10 23:41:48 +03:00
definitions.rs Make DefPathHash->DefId panic for if the mapping fails. 2021-09-14 13:56:33 +02:00
diagnostic_items.rs Introduce get_diagnostic_name 2021-10-06 08:40:28 -05:00
hir_id.rs Address review comments 2021-03-27 22:16:34 -04:00
hir.rs Re-use logic for adding a suggestion when a lifetime bound is missing on an impl trait 2021-10-13 10:53:44 +00:00
intravisit.rs Do not store visibility in *ItemRef. 2021-09-20 00:29:53 +02:00
itemlikevisit.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
lang_items.rs Add const_eval_select intrinsic 2021-10-12 05:42:23 +00:00
lib.rs Introduce get_diagnostic_name 2021-10-06 08:40:28 -05:00
pat_util.rs Auto merge of #83599 - jyn514:unorderable, r=Aaron1011 2021-04-03 04:11:35 +00:00
stable_hash_impls.rs Move some HashStable impls. 2021-10-03 16:08:50 +02:00
target.rs Treat macros as HIR items 2021-08-28 00:16:34 -07:00
tests.rs Revert "Revert "Fix test"" 2021-07-06 11:28:06 +02:00
weak_lang_items.rs Fix outdated crate names in compiler docs 2021-04-08 11:12:14 -05:00