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

11 lines
130 B
Rust

//@ run-pass
#![allow(dead_code)]
#![allow(unused_variables)]
const fn x() {
let t = true;
let x = || t;
}
fn main() {}