]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/issue-37550-1.rs
Rollup merge of #106962 - compiler-errors:use-sugg-span, r=oli-obk
[rust.git] / tests / ui / consts / issue-37550-1.rs
1 // check-pass
2
3 const fn x() {
4     let t = true;
5     let x = || t;
6 }
7
8 fn main() {}