mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
15 lines
223 B
Rust
15 lines
223 B
Rust
|
#![crate_name = "foo"]
|
||
|
|
||
|
mod foo {
|
||
|
pub use bar::*;
|
||
|
pub mod bar {
|
||
|
pub trait Foo {
|
||
|
fn foo();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// @count foo/index.html '//*[@class="trait"]' 1
|
||
|
pub use foo::bar::*;
|
||
|
pub use foo::*;
|