]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-67510-pass.rs
Rollup merge of #82308 - estebank:issue-82290, r=lcnr
[rust.git] / src / test / ui / generic-associated-types / issue-67510-pass.rs
1 // check-pass
2
3 #![feature(generic_associated_types)]
4   //~^ WARNING: the feature `generic_associated_types` is incomplete
5
6 trait X {
7     type Y<'a>;
8 }
9
10 fn _func1<'a>(_x: Box<dyn X<Y<'a>=&'a ()>>) {}
11
12 fn main() {}