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

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

11 lines
129 B
Rust
Raw Normal View History

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