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

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

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;
};
}