rust/tests/rustdoc-json/reexport/mod_not_included.rs

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

12 lines
288 B
Rust
Raw Normal View History

// Regression test for https://github.com/rust-lang/rust/issues/101103
mod m1 {
pub fn x() {}
}
pub use m1::x;
//@ has "$.index[*][?(@.name=='x' && @.inner.function)]"
//@ has "$.index[*].inner[?(@.import.name=='x')].import.source" '"m1::x"'
//@ !has "$.index[*][?(@.name=='m1')]"