]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/issue-37550-1.rs
Rollup merge of #90131 - camsteffen:fmt-args-span-fix, r=cjgillot
[rust.git] / src / test / ui / consts / issue-37550-1.rs
1 const fn x() {
2     let t = true;
3     let x = || t; //~ ERROR function pointer
4 }
5
6 fn main() {}