This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2
rust
/
src
/
test
/
compile-fail
/
import-loop.rs
8 lines
72 B
Rust
Raw
Normal View
History
Unescape
Escape
Downcase std modules again, move to :: for module dereferencing This should be a snapshot transition.
2011-05-12 17:24:54 +02:00
// error-pattern::cyclic import
Catch cyclic imports harder. Add 2 tests to confirm.
2010-07-09 11:59:00 -07:00
import
x
;
fn
main
(
)
{
auto
y
=
x
;
}
Reference in New Issue
Copy Permalink