2024-07-19 16:50:47 +02:00
|
|
|
//@ !has "$.index[*][?(@.name=='foo')]"
|
2021-03-24 15:54:20 +00:00
|
|
|
mod foo {
|
2024-07-19 16:50:47 +02:00
|
|
|
//@ has "$.index[*][?(@.name=='Foo')]"
|
2021-03-24 15:54:20 +00:00
|
|
|
pub struct Foo;
|
|
|
|
}
|
|
|
|
|
2024-07-19 16:50:47 +02:00
|
|
|
//@ has "$.index[*].inner[?(@.import.source=='foo::Foo')]"
|
2021-03-24 15:54:20 +00:00
|
|
|
pub use foo::Foo;
|
|
|
|
|
|
|
|
pub mod bar {
|
2024-07-19 16:50:47 +02:00
|
|
|
//@ has "$.index[*].inner[?(@.import.source=='crate::foo::Foo')]"
|
2021-03-24 15:54:20 +00:00
|
|
|
pub use crate::foo::Foo;
|
|
|
|
}
|