We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Importing a module inside of itself will cause the compiler to abort with no helpful message after some lengthy processing.
Example:
ross@ubuntuvm:~/Documents$ cat rec.rs mod rec; ross@ubuntuvm:~/Documents$ rustc rec.rs Aborted (core dumped)
This example gives a different error:
ross@ubuntuvm:~/Documents$ cat rec.rs #[link(name = "rec", vers = "0.0.1", uuid = "a7e9aaa2-921d-47f0-ab61-69b562d7ea1b")]; #[comment = "Test Recursive Import"]; #[license = "CC0"]; #[crate_type = "lib"]; mod rec; pub fn test() { } ross@ubuntuvm:~/Documents$ rustc rec.rs memory_region::malloc> Out of memory allocating 1050652 bytesAborted (core dumped)
The text was updated successfully, but these errors were encountered:
Could this stem from the same bug(s) as #7276 ?
Sorry, something went wrong.
Fixed by 3c5cfdf.
No branches or pull requests
Importing a module inside of itself will cause the compiler to abort with no helpful message after some lengthy processing.
Example:
This example gives a different error:
The text was updated successfully, but these errors were encountered: