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