We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae4b929 commit 2888e76Copy full SHA for 2888e76
src/test/rustdoc-json/assoc_type.rs
@@ -4,6 +4,7 @@
4
// @has - "$.index[*][?(@.name=='Trait')]"
5
// @has - "$.index[*][?(@.name=='AssocType')]"
6
// @has - "$.index[*][?(@.name=='S')]"
7
+// @has - "$.index[*][?(@.name=='S2')]"
8
9
pub trait Trait {
10
type AssocType;
@@ -14,3 +15,8 @@ impl<T> Trait for T {
14
15
}
16
17
pub struct S;
18
+
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>
22
+pub struct S2;
0 commit comments