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 upimpl trait: rustc stack overflow #35706
Comments
This comment has been minimized.
This comment has been minimized.
|
If I'm not mistaken this is a simpler program showing the same bug:
|
This comment has been minimized.
This comment has been minimized.
|
Odd, we have a testcase similar to this, I'll look into it. |
This comment has been minimized.
This comment has been minimized.
|
@eddyb Have you had a chance to look into this? |
This comment has been minimized.
This comment has been minimized.
ForsakenHarmony
commented
May 12, 2017
|
yup, I still have a problem with this https://github.com/ForsakenHarmony/bfasm/blob/master/src/parser/ops.rs#L24-L30 this causes the stack overflow for me |
This comment has been minimized.
This comment has been minimized.
|
It slipped through the cracks, oops. cc @aturon |
This comment has been minimized.
This comment has been minimized.
|
The stack. The infinite recursion should be this line
|
This comment has been minimized.
This comment has been minimized.
|
@nikomatsakis Do you have suggestions about proceeding? How is the equivalent problem with trait associated types solved? |
This comment has been minimized.
This comment has been minimized.
ForsakenHarmony
commented
May 17, 2017
|
any updates? |
aturon
added
the
T-compiler
label
Jun 7, 2017
aturon
assigned
nikomatsakis
Jun 7, 2017
This comment has been minimized.
This comment has been minimized.
|
Ah, I missed this entirely. I sort of see the problem but have to bring the details of our impl trait impl back into cache to figure out what I think is best fix. |
This comment has been minimized.
This comment has been minimized.
ForsakenHarmony
commented
Jul 19, 2017
|
still nothing? |
This comment has been minimized.
This comment has been minimized.
|
@ForsakenHarmony @nikomatsakis is now away on vacation (and is usually overloaded). @eddyb, is this something you'd be able to look at? Anything I could help talk through? |
This comment has been minimized.
This comment has been minimized.
|
cc @cramertj, as you start diving in. |
Mark-Simulacrum
added
C-bug
I-crash
labels
Jul 25, 2017
This comment has been minimized.
This comment has been minimized.
|
Dup of #36792. |
alexcrichton
closed this
Jan 5, 2018
This comment has been minimized.
This comment has been minimized.
ForsakenHarmony
commented
Jan 5, 2018
|
This is the original though? |
dwrensha commentedAug 16, 2016
•
edited
I get the error
thread 'rustc' has overflowed its stackwhen I try to compile the following program: