18 lines
405 B
Rust
18 lines
405 B
Rust
#![feature(non_lifetime_binders)]
|
|
//~^ WARN the feature `non_lifetime_binders` is incomplete
|
|
|
|
pub fn bar()
|
|
where
|
|
for<const N: usize = {
|
|
//~^ ERROR late-bound const parameters cannot be used currently
|
|
//~| ERROR defaults for generic parameters are not allowed in `for<...>` binders
|
|
(||1usize)()
|
|
}> V: IntoIterator
|
|
//~^ ERROR cannot find type `V` in this scope
|
|
{
|
|
}
|
|
|
|
fn main() {
|
|
bar();
|
|
}
|