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 22:06:30 +00:00
const fn x() {
let t = true;
let x = || t;
2017-05-25 22:06:30 +00:00
}
fn main() {}