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