rust/tests/ui/impl-trait/return-position-impl-trait-minimal.rs
2023-01-11 09:32:08 +00:00

6 lines
110 B
Rust

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