mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 04:04:06 +00:00
8 lines
228 B
Rust
8 lines
228 B
Rust
#![feature(closure_lifetime_binder, non_lifetime_binders)]
|
|
//~^ WARN is incomplete and may not be safe to use
|
|
|
|
fn main() {
|
|
for<const N: i32> || -> () {};
|
|
//~^ ERROR late-bound const parameter not allowed on closures
|
|
}
|