about summary refs log tree commit diff
path: root/src/test/ui/impl-trait/impl_fn_associativity.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-26/+0
2022-10-25--blessMaybe Waffle-0/+1
2022-10-25Add more tests for `impl Fn() -> impl Trait`Maybe Waffle-0/+9
2022-10-25Allow `impl Fn() -> impl Trait` in return positionMaybe Waffle-0/+16
This allows writing the following function signatures: ```rust fn f0() -> impl Fn() -> impl Trait; fn f3() -> &'static dyn Fn() -> impl Trait; ``` These signatures were already allowed for common traits and associated types, there is no reason why `Fn*` traits should be special in this regard.