rust/src/test/run-pass/impl-trait
Christopher Vittal b276429734 Disallow all impl Trait within Fn trait sugar
We already disallowed them to be in the arg list, such as
Fn(impl Debug), but now we disallow Fn() -> impl Debug.

Also remove the ImplTraitContext argument from the function
lower_parenthesized_parameter_data as it is now unused.

Comment out part of test run-pass/impl-trait/xcrate.rs that now fails.
2017-11-15 15:46:01 -05:00
..
auxiliary Disallow all impl Trait within Fn trait sugar 2017-11-15 15:46:01 -05:00
auto-trait-leak.rs rustc_typeck: hook up collect and item/body check to on-demand. 2017-02-25 18:35:25 +02:00
equality.rs rustc_typeck: hook up collect and item/body check to on-demand. 2017-02-25 18:35:25 +02:00
example-calendar.rs Add/Modify tests for argument position impl Trait 2017-11-15 15:46:01 -05:00
example-st.rs Stabilise ? 2016-10-12 08:40:22 +13:00
universal_hrtb_anon.rs add some more positive tests 2017-11-15 15:46:01 -05:00
universal_hrtb_named.rs add some more positive tests 2017-11-15 15:46:01 -05:00
universal_in_adt_in_parameters.rs add some more positive tests 2017-11-15 15:46:01 -05:00
universal_in_impl_trait_in_parameters.rs rename equality-universal to a more extensible naming scheme 2017-11-15 15:46:01 -05:00
universal_in_trait_defn_parameters.rs add some more positive tests 2017-11-15 15:46:01 -05:00
universal_multiple_bounds.rs some tests featuring multiple bounds, other errors 2017-11-15 15:46:01 -05:00
xcrate.rs Disallow all impl Trait within Fn trait sugar 2017-11-15 15:46:01 -05:00