mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 21:55:31 +00:00
14 lines
283 B
Rust
14 lines
283 B
Rust
//@ !has "$.index[*].name" '"foo"'
|
|
mod foo {
|
|
//@ has "$.index[*].name" '"Foo"'
|
|
pub struct Foo;
|
|
}
|
|
|
|
//@ has "$.index[*].inner.use.source" '"foo::Foo"'
|
|
pub use foo::Foo;
|
|
|
|
pub mod bar {
|
|
//@ has "$.index[*].inner.use.source" '"crate::foo::Foo"'
|
|
pub use crate::foo::Foo;
|
|
}
|