]>
git.proxmox.com Git - rustc.git/blob - src/test/run-pass/generator/auxiliary/xcrate.rs
1 #![feature(generators, generator_trait)]
3 use std
::ops
::Generator
;
5 pub fn foo() -> impl Generator
<Yield
= (), Return
= ()> {
13 pub fn bar
<T
: '
static>(t
: T
) -> Box
<Generator
<Yield
= T
, Return
= ()>> {