``` rust fn main() { let _: 'static ||; let _: <'static> ||; } ``` ``` closure-static.rs:3:12: 3:19 error: illegal lifetime parameter name: `static` closure-static.rs:3 let _: <'static> ||; ^~~~~~~ ```
Activity
alexcrichton commentedon Dec 30, 2013
Nominating.
pnkfelix commentedon Jan 9, 2014
Probable dupe of #11209.
pnkfelix commentedon Jan 9, 2014
(denominating since fix for #11209 should fix this too.)
syntax: Tweak parsing lifetime bounds on closures
auto merge of #13268 : alexcrichton/rust/parse-closure, r=cmr
auto merge of #13268 : alexcrichton/rust/parse-closure, r=cmr
Auto merge of rust-lang#11210 - y21:readonly_write_lock, r=giraffate