-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"error: cyclic import" #624
Comments
ghost
assigned marijnh
Jul 8, 2011
marijnh
added a commit
that referenced
this issue
Jul 8, 2011
That is, for example, import x::y::x, which defines a local x, and thus wouldn't be able to find x::y anymore. Closes issue #624
keeperofdakeys
pushed a commit
to keeperofdakeys/rust
that referenced
this issue
Dec 12, 2017
pdietl
pushed a commit
to pdietl/rust
that referenced
this issue
Apr 23, 2020
Update for cfg on generic parameter.
bors
pushed a commit
to rust-lang-ci/rust
that referenced
this issue
Oct 26, 2020
…ft-faerie-312516a
ZuseZ4
pushed a commit
to EnzymeAD/rust
that referenced
this issue
Mar 7, 2023
celinval
added a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
Remove the hack we added to monomorphizer to skip functions that we were not able to handle. The latest fixes that we added to RMC was enough to allow us to run the monomorphizer as is.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This gives an error and maybe it shouldn't:
import rustc::driver::rustc;
../src/fuzzer/fuzzer.rs:10:12:14:4: error: cyclic import
../src/fuzzer/fuzzer.rs:9:12:10:6: error: unresolved modulename: syntax
Workaround:
import driver = rustc::driver::rustc;
The text was updated successfully, but these errors were encountered: