blob: 86b164ba7d8a879cc91f5c40e45d428ec6690ff8 (
plain)
1
2
3
4
5
6
7
8
9
|
trait X {
type Y<'x>;
}
fn main() {
fn _f(arg : Box<dyn for<'a> X<Y<'x> = &'a [u32]>>) {}
//~^ ERROR: use of undeclared lifetime name `'x`
//~| ERROR: binding for associated type `Y` references lifetime
}
|