1
Fork 0

Allow references to interior mutable data behind a feature gate

This commit is contained in:
oli 2020-12-27 17:33:56 +00:00
parent a609fb45ef
commit 0b841846ba
23 changed files with 171 additions and 41 deletions

View file

@ -626,6 +626,9 @@ declare_features! (
/// Allows const generics to have default values (e.g. `struct Foo<const N: usize = 3>(...);`).
(active, const_generics_defaults, "1.51.0", Some(44580), None),
/// Allows references to types with interior mutability within constants
(active, const_refs_to_cell, "1.51.0", Some(80384), None),
// -------------------------------------------------------------------------
// feature-group-end: actual feature gates
// -------------------------------------------------------------------------