File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/test/ui/existential_types Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11// check-pass
22
33#![ feature( existential_type) ]
4+ // Currently, the `existential_type` feature implicitly
5+ // depends on `impl_trait_in_bindings` in order to work properly.
6+ // Specifically, this line requires `impl_trait_in_bindings` to be enabled:
7+ // https://github.com/rust-lang/rust/blob/481068a707679257e2a738b40987246e0420e787/src/librustc_typeck/check/mod.rs#L856
48#![ feature( impl_trait_in_bindings) ]
59//~^ WARN the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash
610
Original file line number Diff line number Diff line change 11warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash
2- --> $DIR/existential_type_const.rs:4 :12
2+ --> $DIR/existential_type_const.rs:8 :12
33 |
44LL | #![feature(impl_trait_in_bindings)]
55 | ^^^^^^^^^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments