]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/static-closures.rs
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / ui / static / static-closures.rs
1 fn main() {
2     static || {};
3     //~^ ERROR closures cannot be static
4 }