mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 20:34:06 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
16 lines
132 B
Rust
16 lines
132 B
Rust
//@ run-pass
|
|
|
|
mod a {
|
|
pub fn f() {}
|
|
pub fn g() {}
|
|
}
|
|
|
|
mod b {
|
|
pub use a::*;
|
|
}
|
|
|
|
pub fn main() {
|
|
b::f();
|
|
b::g();
|
|
}
|