rust/tests/ui/impl-trait/return-position-impl-trait-minimal.rs
2024-02-16 20:02:50 +00:00

6 lines
111 B
Rust

//@ build-pass (FIXME(62277): could be check-pass?)
fn main() {}
fn foo() -> impl std::fmt::Debug { "cake" }