2022-08-27 20:35:44 -05:00
|
|
|
// @!has "$.index[*][?(@.name=='foo')]"
|
2021-03-24 10:54:20 -05:00
|
|
|
mod foo {
|
2022-08-17 05:55:09 -05:00
|
|
|
// @has "$.index[*][?(@.name=='Foo')]"
|
2021-03-24 10:54:20 -05:00
|
|
|
pub struct Foo;
|
|
|
|
}
|
|
|
|
|
2023-05-22 12:17:52 -05:00
|
|
|
// @has "$.index[*].inner[?(@.import.source=='foo::Foo')]"
|
2021-03-24 10:54:20 -05:00
|
|
|
pub use foo::Foo;
|
|
|
|
|
|
|
|
pub mod bar {
|
2023-05-22 12:17:52 -05:00
|
|
|
// @has "$.index[*].inner[?(@.import.source=='crate::foo::Foo')]"
|
2021-03-24 10:54:20 -05:00
|
|
|
pub use crate::foo::Foo;
|
|
|
|
}
|