rust/tests/ui/consts/issue-37550-1.rs
2023-01-11 09:32:08 +00:00

9 lines
82 B
Rust

// check-pass
const fn x() {
let t = true;
let x = || t;
}
fn main() {}