mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 04:14:28 +00:00

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