This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
13 lines
168 B
Rust
13 lines
168 B
Rust
import bar::baz;
|
|
import foo::zed;
|
|
mod foo {
|
|
mod zed {
|
|
fn baz() { log "baz"; }
|
|
}
|
|
}
|
|
mod bar {
|
|
import zed::baz;
|
|
export baz;
|
|
}
|
|
fn main() { baz(); }
|