add private module override re-export test
This commit is contained in:
parent
ec38671075
commit
2a75cb9d6c
1 changed files with 14 additions and 0 deletions
14
tests/rustdoc/private-mod-override-re-export.rs
Normal file
14
tests/rustdoc/private-mod-override-re-export.rs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
// https://github.com/rust-lang/rust/issues/60926
|
||||
#![crate_name = "foo"]
|
||||
#![crate_type = "lib"]
|
||||
|
||||
mod m1 {
|
||||
pub mod m2 {
|
||||
pub struct Foo;
|
||||
}
|
||||
}
|
||||
|
||||
pub use m1::*;
|
||||
use crate::m1::m2;
|
||||
|
||||
//@ !has foo/index.html '//a[@href="m2/index.html"]' 'm2'
|
||||
Loading…
Add table
Add a link
Reference in a new issue