rust/compiler/rustc_feature/src
Florian Warzecha 3948b054dc
add rustc_allow_const_fn_unstable attribute
allow_internal_unstable is currently used
to side-step feature gate and stability checks.
While it was originally only meant to be used
only on macros, its use was expanded to
const functions.

This commit prepares stricter checks for the usage of allow_internal_unstable (only on macros)
and introduces the rustc_allow_const_fn_unstable attribute for usage on functions.

See rust-lang/rust#69399
2020-10-21 18:04:18 +02:00
..
accepted.rs Rollup merge of #76119 - Amjad50:stabilizing-move_ref_pattern, r=nikomatsakis 2020-10-16 02:10:07 +02:00
active.rs add rustc_allow_const_fn_unstable attribute 2020-10-21 18:04:18 +02:00
builtin_attrs.rs add rustc_allow_const_fn_unstable attribute 2020-10-21 18:04:18 +02:00
lib.rs Add note about possible future improvement 2020-10-01 17:32:23 +02:00
removed.rs Fix 'FIXME' about using NonZeroU32 instead of u32. 2020-09-17 21:54:13 +02:00