blob: be85598b7bfaf758cf59be07028c2774425c4136 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#![feature(generic_associated_types)]
trait X {
type Y<'a>;
}
fn f1<'a>(arg : Box<dyn X<Y = B = &'a ()>>) {}
//~^ ERROR: expected one of `!`, `(`, `+`, `,`, `::`, `<`, or `>`, found `=`
fn main() {}
|