about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2020-01-02 15:46:30 -0800
committerDylan MacKenzie <ecstaticmorse@gmail.com>2020-01-09 16:46:14 -0800
commit6fc41585043927c3b9b404ddc357e67ab443eb70 (patch)
tree64f934b9a257d24167792b5c988d8ab33d254cae /src/libsyntax
parent63e2e44eb94c375527ddc6438479a0dd10ed4310 (diff)
downloadrust-6fc41585043927c3b9b404ddc357e67ab443eb70.tar.gz
rust-6fc41585043927c3b9b404ddc357e67ab443eb70.zip
Add `const_trait_bound_opt_out` feature gate
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate/check.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate/check.rs b/src/libsyntax/feature_gate/check.rs
index f5090bf1553..52eb20d320f 100644
--- a/src/libsyntax/feature_gate/check.rs
+++ b/src/libsyntax/feature_gate/check.rs
@@ -909,6 +909,7 @@ pub fn check_crate(
     gate_all!(or_patterns, "or-patterns syntax is experimental");
     gate_all!(const_extern_fn, "`const extern fn` definitions are unstable");
     gate_all!(raw_ref_op, "raw address of syntax is experimental");
+    gate_all!(const_trait_bound_opt_out, "`?const` on trait bounds is experimental");
     gate_all!(const_trait_impl, "const trait impls are experimental");
 
     // All uses of `gate_all!` below this point were added in #65742,