We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49e5e4e commit c7e976eCopy full SHA for c7e976e
tests/rustdoc-json/impls/auto.rs
@@ -17,6 +17,8 @@ impl Foo {
17
// Testing spans, so all tests below code
18
//@ is "$.index[?(@.docs=='has span')].span.begin" "[13, 1]"
19
//@ is "$.index[?(@.docs=='has span')].span.end" "[15, 2]"
20
-// FIXME: this doesn't work due to https://github.com/freestrings/jsonpath/issues/91
21
-// is "$.index[?(@.inner.impl.is_synthetic==true)].span" null
+//@ is "$.index[?(@.docs=='has span')].inner.impl.is_synthetic" false
+//@ is "$.index[?(@.inner.impl.is_synthetic==true)].span" null
22
+//@ is "$.index[?(@.inner.impl.is_synthetic==true)].inner.impl.for.resolved_path.path" '"Foo"'
23
+//@ is "$.index[?(@.inner.impl.is_synthetic==true)].inner.impl.trait.path" '"Bar"'
24
pub struct Foo;
0 commit comments