This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
9 lines
104 B
Rust
9 lines
104 B
Rust
|
|
|
|
mod m1 {
|
|
tag foo { foo1; foo2; }
|
|
}
|
|
|
|
fn bar(x: m1::foo) { alt x { m1::foo1. { } } }
|
|
|
|
fn main() { }
|