This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
8b141d5d37
rust
/
src
/
test
/
compile-fail
/
import-loop.rs
11 lines
86 B
Rust
Raw
Normal View
History
Unescape
Escape
Stop showing a 'cyclic import' message for unresolved imports This only happened for single-length import paths, because the import was being looked up in its own scope.
2011-05-24 20:58:38 +02:00
// error-pattern: cyclic import
Catch cyclic imports harder. Add 2 tests to confirm.
2010-07-09 11:59:00 -07:00
Stop showing a 'cyclic import' message for unresolved imports This only happened for single-length import paths, because the import was being looked up in its own scope.
2011-05-24 20:58:38 +02:00
import
y
::
x
;
mod
y
{
import
x
;
}
Catch cyclic imports harder. Add 2 tests to confirm.
2010-07-09 11:59:00 -07:00
fn
main
(
)
{
}
Copy permalink