]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-types/issue-91234.rs
Rollup merge of #106618 - jmillikin:os-net-rustdoc-wasm32, r=JohnTitor
[rust.git] / tests / ui / associated-types / issue-91234.rs
1 // check-pass
2
3 struct Struct;
4
5 trait Trait {
6     type Type;
7 }
8
9 enum Enum<'a> where &'a Struct: Trait {
10     Variant(<&'a Struct as Trait>::Type)
11 }
12
13 fn main() {}