updating the feature-gate listing and do not require the feature-gate to use the feature
This commit is contained in:
parent
502d6aa47b
commit
4404a4e365
3 changed files with 2 additions and 3 deletions
|
@ -70,6 +70,8 @@ declare_features! (
|
|||
(accepted, cfg_attr_multi, "1.33.0", Some(54881), None),
|
||||
/// Allows the use of `#[cfg(doctest)]`, set when rustdoc is collecting doctests.
|
||||
(accepted, cfg_doctest, "1.40.0", Some(62210), None),
|
||||
/// Enables `#[cfg(panic = "...")]` config key.
|
||||
(accepted, cfg_panic, "1.60.0", Some(77443), None),
|
||||
/// Allows `cfg(target_feature = "...")`.
|
||||
(accepted, cfg_target_feature, "1.27.0", Some(29717), None),
|
||||
/// Allows `cfg(target_has_atomic = "...")`.
|
||||
|
|
|
@ -303,8 +303,6 @@ declare_features! (
|
|||
(active, c_variadic, "1.34.0", Some(44930), None),
|
||||
/// Allows capturing disjoint fields in a closure/generator (RFC 2229).
|
||||
(incomplete, capture_disjoint_fields, "1.49.0", Some(53488), None),
|
||||
/// Enables `#[cfg(panic = "...")]` config key.
|
||||
(active, cfg_panic, "1.49.0", Some(77443), None),
|
||||
/// Allows the use of `#[cfg(sanitize = "option")]`; set when -Zsanitizer is used.
|
||||
(active, cfg_sanitize, "1.41.0", Some(39699), None),
|
||||
/// Allows `cfg(target_abi = "...")`.
|
||||
|
|
|
@ -33,7 +33,6 @@ const GATED_CFGS: &[GatedCfg] = &[
|
|||
),
|
||||
(sym::sanitize, sym::cfg_sanitize, cfg_fn!(cfg_sanitize)),
|
||||
(sym::version, sym::cfg_version, cfg_fn!(cfg_version)),
|
||||
(sym::panic, sym::cfg_panic, cfg_fn!(cfg_panic)),
|
||||
];
|
||||
|
||||
/// Find a gated cfg determined by the `pred`icate which is given the cfg's name.
|
||||
|
|
Loading…
Add table
Reference in a new issue