]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/issue-69323.rs
4 #![feature(min_type_alias_impl_trait)]
5 #![cfg_attr(full, feature(type_alias_impl_trait))]
6 //[full]~^ WARN incomplete
8 use std
::iter
::{once, Chain}
;
10 fn test1
<A
: Iterator
<Item
= &'
static str>>(x
: A
) -> Chain
<A
, impl Iterator
<Item
= &'
static str>> {
14 type I
<A
> = Chain
<A
, impl Iterator
<Item
= &'
static str>>;
15 fn test2
<A
: Iterator
<Item
= &'
static str>>(x
: A
) -> I
<A
> {