rust/tests/ui/consts/issue-37550-1.rs

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

9 lines
82 B
Rust
Raw Normal View History

// check-pass
2017-05-25 17:06:30 -05:00
const fn x() {
let t = true;
let x = || t;
2017-05-25 17:06:30 -05:00
}
fn main() {}