add private module override re-export test

This commit is contained in:
Iris Shi 2025-09-20 16:09:40 +08:00
parent ec38671075
commit 2a75cb9d6c
No known key found for this signature in database

View 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'