summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/error-in-impl-trait/closure.rs
blob: f1fd85bb23cb6cd8da4d9ca229ee6af5304122ba (plain)
1
2
3
4
5
// check-pass
// manually desugared version of an `async fn` (but with a closure instead of a generator)
pub fn a() -> impl Fn() -> u32 {
    || content::doesnt::matter()
}