blob: 0b4b24b9820b9c2e10fd1f615b896e3cff1722fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#![feature(generic_associated_types)]
trait Trait {
type Bound<'a>;
}
fn foo() where Trait<for<'a> Bound<'a> = &'a ()> {
//~^ ERROR `for<...>` is not allowed on associated type bounds
}
fn main() {}
|