]>
git.proxmox.com Git - rustc.git/blob - tests/ui/associated-types/associated-type-struct-construction.rs
1 // Make sure that users can construct structs through associated types
2 // in both expressions and patterns
4 #![feature(more_qualified_paths)]
8 let <Foo
as A
>::Assoc { br }
= <Foo
as A
>::Assoc { br: 2 }
;
23 type Assoc
= StructStruct
;