This only happened for single-length import paths, because the import was being looked up in its own scope.
7 lines
No EOL
112 B
Rust
7 lines
No EOL
112 B
Rust
// xfail-stage0
|
|
// error-pattern: unresolved import: vec
|
|
import vec;
|
|
|
|
fn main() {
|
|
auto foo = vec::len([]);
|
|
} |