]> git.proxmox.com Git - rustc.git/blob - tests/ui/static/static-closures.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / 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`.