]> git.lizzy.rs Git - rust.git/commit
Auto merge of #46888 - cramertj:nested-impl-trait-error, r=nikomatsakis
authorbors <bors@rust-lang.org>
Sun, 24 Dec 2017 07:34:13 +0000 (07:34 +0000)
committerbors <bors@rust-lang.org>
Sun, 24 Dec 2017 07:34:13 +0000 (07:34 +0000)
commit11a24d9c3940f60e527c571680d64e80e0889abe
treeac2db20e2e6e33adb63330a3cf50370530cf4960
parent51b47dc4a1af3260738aa7c5d4e31e8d77c0c0b6
parentc026d19baf4b2ea96b218fd5d83275ae6e8220a1
Auto merge of #46888 - cramertj:nested-impl-trait-error, r=nikomatsakis

Add a feature gate for nested uses of `impl Trait`

This allows us to delay stabilization of nested `impl Trait` until we have a plan to solve the problem posed [here](https://github.com/rust-lang/rust/issues/34511#issuecomment-350715858).

r? @nikomatsakis
src/libsyntax/feature_gate.rs