rust/tests/ui/impl-trait/issue-36792.rs
2023-04-20 15:06:17 -03:00

8 lines
71 B
Rust

// run-pass
fn foo() -> impl Copy {
foo
}
fn main() {
foo();
}