Skip to content

Commit d9e2d8d

Browse files
committed
1 parent 9ba9297 commit d9e2d8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/rustdoc-json/reexport/in_root_and_mod_pub.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ pub mod foo {
77
pub struct Bar;
88
}
99

10-
// @set root_import_id = - "$.index[*][?(@.inner.span=='foo::Bar')].id"
11-
// @is - "$.index[*][?(@.inner.span=='foo::Bar')].inner.id" $bar_id
10+
// @set root_import_id = - "$.index[*][?(@.inner.source=='foo::Bar')].id"
11+
// @is - "$.index[*][?(@.inner.source=='foo::Bar')].inner.id" $bar_id
1212
// @has - "$.index[*][?(@.name=='in_root_and_mod_pub')].inner.items[*]" $root_import_id
1313
pub use foo::Bar;
1414

1515
pub mod baz {
16-
// @set baz_import_id = - "$.index[*][?(@.inner.span=='crate::foo::Bar')].id"
17-
// @is - "$.index[*][?(@.inner.span=='crate::foo::Bar')].inner.id" $bar_id
16+
// @set baz_import_id = - "$.index[*][?(@.inner.source=='crate::foo::Bar')].id"
17+
// @is - "$.index[*][?(@.inner.source=='crate::foo::Bar')].inner.id" $bar_id
1818
// @has - "$.index[*][?(@.name=='baz')].inner.items[*]" $baz_import_id
1919
pub use crate::foo::Bar;
2020
}

0 commit comments

Comments
 (0)