1
Fork 0
rust/tests/rustdoc-json/reexport/in_root_and_mod.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
297 B
Rust
Raw Normal View History

//@ !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;
}