]>
git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-json/assoc_type.rs
1 // Regression test for <https://github.com/rust-lang/rust/issues/98547>.
3 // @has "$.index[*][?(@.name=='Trait')]"
4 // @has "$.index[*][?(@.name=='AssocType')]"
5 // @has "$.index[*][?(@.name=='S')]"
6 // @has "$.index[*][?(@.name=='S2')]"
13 type AssocType
= Self;
18 /// Not needed for the #98547 ICE to occur, but added to maximize the chance of
19 /// getting an ICE in the future. See
20 /// <https://github.com/rust-lang/rust/pull/98548#discussion_r908219164>