We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a42b04c + 04dbc7d commit 4bd62f7Copy full SHA for 4bd62f7
tests/rustdoc-json/traits/private_supertrait.rs
@@ -0,0 +1,15 @@
1
+// ignore-tidy-linelength
2
+
3
+#![feature(no_core)]
4
+#![no_core]
5
6
7
+// @!has "$.index[*][?(@.name == 'sealed')]"
8
+mod sealed {
9
+ // @set sealed_id = "$.index[*][?(@.name=='Sealed')].id"
10
+ pub trait Sealed {}
11
+}
12
13
+// @count "$.index[*][?(@.name=='Trait')].inner.trait.bounds[*]" 1
14
+// @is "$.index[*][?(@.name=='Trait')].inner.trait.bounds[0].trait_bound.trait.id" $sealed_id
15
+pub trait Trait: sealed::Sealed {}
0 commit comments