Skip to content

Commit 2a75cb9

Browse files
committed
add private module override re-export test
1 parent ec38671 commit 2a75cb9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// https://github.com/rust-lang/rust/issues/60926
2+
#![crate_name = "foo"]
3+
#![crate_type = "lib"]
4+
5+
mod m1 {
6+
pub mod m2 {
7+
pub struct Foo;
8+
}
9+
}
10+
11+
pub use m1::*;
12+
use crate::m1::m2;
13+
14+
//@ !has foo/index.html '//a[@href="m2/index.html"]' 'm2'

0 commit comments

Comments
 (0)