Rollup merge of #66606 - christianpoveda:mut-refs-in-const-fn, r=oli-obk

Add feature gate for mut refs in const fn

r? @oli-obk
This commit is contained in:
Mazdak Farrokhzad 2019-12-06 23:26:54 +01:00 committed by GitHub
commit 2bd35c065c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 311 additions and 142 deletions

View file

@ -523,6 +523,9 @@ declare_features! (
/// Allows the use of `#[cfg(sanitize = "option")]`; set when -Zsanitizer is used.
(active, cfg_sanitize, "1.41.0", Some(39699), None),
/// Allows using `&mut` in constant functions.
(active, const_mut_refs, "1.41.0", Some(57349), None),
// -------------------------------------------------------------------------
// feature-group-end: actual feature gates
// -------------------------------------------------------------------------