rust/tests/ui/consts/issue-37550-1.rs
2024-02-16 20:02:50 +00:00

9 lines
83 B
Rust

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