We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69df0f2 commit 9286228Copy full SHA for 9286228
src/test/rustdoc-json/traits/uses_extern_trait.rs
@@ -3,5 +3,10 @@ pub fn drop_default<T: core::default::Default>(_x: T) {}
3
4
// FIXME(adotinthevoid): Theses shouldn't be here
5
// @has "$.index[*][?(@.name=='Debug')]"
6
-// @set Debug_fmt = "$.index[*][?(@.name=='Debug')].inner.items[*]"
+
7
+// Debug may have several items. All we depend on here the that `fmt` is first. See
8
+// https://github.com/rust-lang/rust/pull/104525#issuecomment-1331087852 for why we
9
+// can't use [*].
10
11
+// @set Debug_fmt = "$.index[*][?(@.name=='Debug')].inner.items[0]"
12
// @has "$.index[*][?(@.name=='fmt')].id" $Debug_fmt
0 commit comments