]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/lazy-type-alias-impl-trait/branches.rs
1 #![feature(type_alias_impl_trait)]
3 type Foo
= impl std
::fmt
::Debug
;
5 fn foo(b
: bool
) -> Foo
{
9 std
::iter
::empty().collect()
10 //~^ ERROR `Foo` cannot be built from an iterator over elements of type `_`