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