]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/associated-types-resolve-lifetime.rs
Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup
[rust.git] / src / test / ui / associated-types / associated-types-resolve-lifetime.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 trait Get<T> {
5     fn get(&self) -> T;
6 }
7
8 trait Trait<'a> {
9     type T: 'static;
10     type U: Get<&'a isize>;
11
12     fn dummy(&'a self) { }
13 }
14
15 fn main() {}