]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/static-closures.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / test / ui / static / static-closures.rs
1 fn main() {
2     static || {};
3     //~^ ERROR closures cannot be static
4 }