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