diff options
| author | Christian Poveda <christianpoveda@protonmail.com> | 2019-11-17 18:43:26 -0500 |
|---|---|---|
| committer | Christian Poveda <christianpoveda@protonmail.com> | 2019-12-02 09:03:39 -0500 |
| commit | 12ac49afc9e1c33fe94f01dfca9efda4d7fed0b2 (patch) | |
| tree | 874eeb1f32b1a8adf4ca21089dfba9ed003f4c16 /src/librustc_feature | |
| parent | 4af3ee8ee2a2bc1286b021db7600ba990359cf3f (diff) | |
Add feature gate for &mut in const fns
Diffstat (limited to 'src/librustc_feature')
| -rw-r--r-- | src/librustc_feature/active.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc_feature/active.rs b/src/librustc_feature/active.rs index 16d8ada9f24..706e1024365 100644 --- a/src/librustc_feature/active.rs +++ b/src/librustc_feature/active.rs @@ -527,6 +527,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_fn_mut_refs, "1.41.0", None, None), + // ------------------------------------------------------------------------- // feature-group-end: actual feature gates // ------------------------------------------------------------------------- |
