This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
3 lines
57 B
Rust
3 lines
57 B
Rust
// error-pattern:mismatched types
|
|
|
|
fn main() { fail 5; }
|