rust/compiler/rustc_feature/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
..
accepted.rs Fix stabilization version for bindings_after_at 2021-10-06 09:34:39 -07:00
active.rs Add feature gate to non_exhaustive_omitted_patterns lint 2021-10-08 17:40:39 -04:00
builtin_attrs.rs Add const_eval_select intrinsic 2021-10-12 05:42:23 +00:00
lib.rs Ignore automatically derived impls of Clone and Debug in dead code analysis 2021-09-09 19:49:07 +02:00
removed.rs Ignore automatically derived impls of Clone and Debug in dead code analysis 2021-09-09 19:49:07 +02:00
tests.rs tidy: Re-enable check for inline unit tests 2020-12-12 19:18:44 +03:00