concrete
concrete copied to clipboard
Add support to "import" a module
mod test_direct_use {
mod first {
mod second {
fn hello() -> i32 {
return 2;
}
}
}
import first.{second};
pub fn main() -> i32 {
let mut x: i32 = second::hello();
return x;
}
}