mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
14 lines
309 B
Rust
14 lines
309 B
Rust
//@ !has "$.index[*][?(@.name=='foo')]"
|
|
mod foo {
|
|
//@ has "$.index[*][?(@.name=='Foo')]"
|
|
pub struct Foo;
|
|
}
|
|
|
|
//@ has "$.index[*].inner[?(@.import.source=='foo::Foo')]"
|
|
pub use foo::Foo;
|
|
|
|
pub mod bar {
|
|
//@ has "$.index[*].inner[?(@.import.source=='crate::foo::Foo')]"
|
|
pub use crate::foo::Foo;
|
|
}
|