]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-67510.rs
Move some tests with compare-mode=nll output to revisions
[rust.git] / src / test / ui / generic-associated-types / issue-67510.rs
1 #![feature(generic_associated_types)]
2
3 trait X {
4     type Y<'a>;
5 }
6
7 fn f(x: Box<dyn X<Y<'a>=&'a ()>>) {}
8   //~^ ERROR: use of undeclared lifetime name `'a`
9   //~| ERROR: use of undeclared lifetime name `'a`
10
11
12 fn main() {}