518dc52f85
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
9 lines
128 B
Rust
9 lines
128 B
Rust
// error-pattern:unresolved import: eggs
|
|
import spam::{ham, eggs};
|
|
|
|
mod spam {
|
|
fn ham() { }
|
|
}
|
|
|
|
fn main() { ham(); eggs(); }
|