]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/issue-37550-1.rs
Rollup merge of #94839 - TaKO8Ki:suggest-using-double-colon-for-struct-field-type...
[rust.git] / src / test / 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() {}