summary refs log tree commit diff
path: root/src/libsyntax/feature_gate
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-31 04:33:31 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-11-21 14:55:33 +0100
commit6eb0627b49edb03d27722cab4d13f92a9a65a1c8 (patch)
treeb73c47e447179b1b05cdf593ecbeb0b2340cdded /src/libsyntax/feature_gate
parent8f6197f39f7d468dfc5b2bd41dae4769992a2f83 (diff)
downloadrust-6eb0627b49edb03d27722cab4d13f92a9a65a1c8.tar.gz
rust-6eb0627b49edb03d27722cab4d13f92a9a65a1c8.zip
Gate fallback via `#![feature(never_type_fallback)]`.
Diffstat (limited to 'src/libsyntax/feature_gate')
-rw-r--r--src/libsyntax/feature_gate/active.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate/active.rs b/src/libsyntax/feature_gate/active.rs
index 23718f56246..bd029514a95 100644
--- a/src/libsyntax/feature_gate/active.rs
+++ b/src/libsyntax/feature_gate/active.rs
@@ -520,6 +520,9 @@ declare_features! (
     /// Allows using the `efiapi` ABI.
     (active, abi_efiapi, "1.40.0", Some(65815), None),
 
+    /// Allows diverging expressions to fall back to `!` rather than `()`.
+    (active, never_type_fallback, "1.41.0", Some(65992), None),
+
     /// Allows using the `#[register_attr]` attribute.
     (active, register_attr, "1.41.0", Some(66080), None),