]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/import-glob-0.rs
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / ui / imports / import-glob-0.rs
1 use module_of_many_things::*;
2
3 mod module_of_many_things {
4     pub fn f1() { println!("f1"); }
5     pub fn f2() { println!("f2"); }
6     fn f3() { println!("f3"); }
7     pub fn f4() { println!("f4"); }
8 }
9
10
11 fn main() {
12     f1();
13     f2();
14     f999(); //~ ERROR cannot find function `f999` in this scope
15     f4();
16 }