rust/tests/ui/closures/binder/nested-closures.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
123 B
Rust
Raw Normal View History

2022-10-30 15:51:30 -05:00
// check-pass
#![feature(closure_lifetime_binder)]
fn main() {
for<'a> || -> () { for<'c> |_: &'a ()| -> () {}; };
}