diff options
| author | Pulkit Goyal <7895pulkit@gmail.com> | 2019-05-13 00:37:05 +0300 |
|---|---|---|
| committer | Pulkit Goyal <7895pulkit@gmail.com> | 2019-05-13 18:45:20 +0300 |
| commit | ea956e3ae9e0089861934062544aa44588052e2a (patch) | |
| tree | 53c76162318c98542b105563396b3ab718615bcb /src/libsyntax | |
| parent | 69ef8fbe7084f40893252df9fa47298b0a5c5057 (diff) | |
| download | rust-ea956e3ae9e0089861934062544aa44588052e2a.tar.gz rust-ea956e3ae9e0089861934062544aa44588052e2a.zip | |
add impl_trait_in_bindings to INCOMPLETE_FEATURES
impl_trait_in_bindings is not yet complete and can lead to compiler crashes. Fixes #60764.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index a49926158de..8a066f3f4a0 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -563,6 +563,7 @@ declare_features! ( // unanticipated results, such as compiler crashes. We warn the user about these // to alert them. const INCOMPLETE_FEATURES: &[Symbol] = &[ + sym::impl_trait_in_bindings, sym::generic_associated_types, sym::const_generics ]; |
