mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-23 22:14:15 +00:00
518dc52f85
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
11 lines
100 B
Rust
11 lines
100 B
Rust
// error-pattern: cyclic import
|
|
|
|
import y::x;
|
|
|
|
mod y {
|
|
import x;
|
|
export x;
|
|
}
|
|
|
|
fn main() { }
|