diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-01-02 15:45:48 -0800 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-01-09 16:46:14 -0800 |
| commit | 63e2e44eb94c375527ddc6438479a0dd10ed4310 (patch) | |
| tree | 28b74f617b875e8d8e8ca47d0781ab8a67850ea6 /src/libsyntax/feature_gate | |
| parent | 72b2bd55edbb1e63a930c5ddd08b25e4f9044786 (diff) | |
| download | rust-63e2e44eb94c375527ddc6438479a0dd10ed4310.tar.gz rust-63e2e44eb94c375527ddc6438479a0dd10ed4310.zip | |
Add `const_trait_impl` feature gate
Diffstat (limited to 'src/libsyntax/feature_gate')
| -rw-r--r-- | src/libsyntax/feature_gate/check.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate/check.rs b/src/libsyntax/feature_gate/check.rs index 26545bfa61b..f5090bf1553 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_impl, "const trait impls are experimental"); // All uses of `gate_all!` below this point were added in #65742, // and subsequently disabled (with the non-early gating readded). |
