Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upInvalid Recursive Enum (2+ occurances) causes compiler out-of-memory on beta/nightly #32326
Comments
eddyb
added
regression-from-stable-to-beta
I-nominated
T-compiler
labels
Mar 18, 2016
This comment has been minimized.
This comment has been minimized.
|
Yeah, I can imagine why this is happening. We are exploring out the nested obligations in a breadth-first-fashion, and hence this blows up memory usage dramatically. |
This comment has been minimized.
This comment has been minimized.
|
triage: P-high |
rust-highfive
added
P-high
and removed
I-nominated
labels
Mar 24, 2016
nikomatsakis
referenced this issue
Mar 24, 2016
Closed
Recursive struct hangs compilation on Nightly 03-19 #32417
This was referenced Mar 26, 2016
nikomatsakis
referenced this issue
Mar 29, 2016
Merged
process cycles as soon as they are detected #32582
nagisa
referenced this issue
Mar 30, 2016
Closed
Recursive type results in infinite recursion #32619
pnkfelix
assigned
nikomatsakis
Mar 31, 2016
bors
added a commit
that referenced
this issue
Apr 4, 2016
bors
closed this
in
#32582
Apr 4, 2016
yberreby
added a commit
to yberreby/rgo
that referenced
this issue
Apr 17, 2016
rkruppe
referenced this issue
May 1, 2016
Closed
Rustc compiler freezes when creating a recursive data structure #33310
jonas-schievink
referenced this issue
May 6, 2016
Closed
Some recursive definitions of structs/enums cause compiler to hang #33467
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alex-ozdemir commentedMar 18, 2016
For example, compiling
with
rustccauses the error messagefatal runtime error: out of memorySingle occurrences seem to work fine.