]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/associated-types-resolve-lifetime.rs
feat(rustdoc): open sidebar menu when links inside it are focused
[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() {}