]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-ui/error-in-impl-trait/closure.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / rustdoc-ui / error-in-impl-trait / closure.rs
1 // check-pass
2 // manually desugared version of an `async fn` (but with a closure instead of a generator)
3 pub fn a() -> impl Fn() -> u32 {
4 || content::doesnt::matter()
5 }