1 // check-pass 2 3 #![feature(register_tool)] 4 #![register_tool(tool)] 5 6 mod submodule; 7 main()8 fn main() { 9 submodule::foo(); 10 } 11