rust/tests/ui/closures/binder/late-bound-in-body.rs

10 lines
138 B
Rust
Raw Normal View History

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