Add const_eval_select intrinsic
This commit is contained in:
parent
0c87288f92
commit
5387b6542f
20 changed files with 334 additions and 38 deletions
|
@ -467,6 +467,8 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
|||
|
||||
rustc_attr!(rustc_promotable, Normal, template!(Word), IMPL_DETAIL),
|
||||
rustc_attr!(rustc_legacy_const_generics, Normal, template!(List: "N"), INTERNAL_UNSTABLE),
|
||||
// Do not const-check this function's body. It will always get replaced during CTFE.
|
||||
rustc_attr!(rustc_do_not_const_check, Normal, template!(Word), INTERNAL_UNSTABLE),
|
||||
|
||||
// ==========================================================================
|
||||
// Internal attributes, Layout related:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue