rust/tests/ui/impl-trait/issue-36792.rs
2024-02-16 20:02:50 +00:00

8 lines
72 B
Rust

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