index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
ui
/
static
/
static-closures.rs
blob: 1bd518d6ffeceb732413dd90c5083246473898f6 (
plain
)
1
2
3
4
fn
main
()
{
static
||
{};
//~^ ERROR closures cannot be static
}