]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/static-closures.stderr
Rollup merge of #106064 - lukas-code:outlives-macro, r=cjgillot
[rust.git] / src / test / ui / static / static-closures.stderr
1 error[E0697]: closures cannot be static
2   --> $DIR/static-closures.rs:2:5
3    |
4 LL |     static || {};
5    |     ^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0697`.