diff options
Diffstat (limited to 'src/test/ui/type-alias-impl-trait/issue-58951.rs')
-rw-r--r-- | src/test/ui/type-alias-impl-trait/issue-58951.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/type-alias-impl-trait/issue-58951.rs b/src/test/ui/type-alias-impl-trait/issue-58951.rs deleted file mode 100644 index 7303cbab4..000000000 --- a/src/test/ui/type-alias-impl-trait/issue-58951.rs +++ /dev/null @@ -1,15 +0,0 @@ -// check-pass - -#![feature(type_alias_impl_trait)] - -type A = impl Iterator; - -fn def_a() -> A { - 0..1 -} - -pub fn use_a() { - def_a().map(|x| x); -} - -fn main() {} |