-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
impl Trait
ICE returning a recursive type
#36792
Comments
cc @eddyb |
Well, you've sort of succeeded: what trans sees is However, I would've expected |
impl Trait
ICE returning a functionimpl Trait
ICE returning a recursive type
rustc does not overflow its stack on |
topecongiro
added a commit
to topecongiro/rust
that referenced
this issue
Jan 11, 2018
Closes rust-lang#36792. Closes rust-lang#38091. Closes rust-lang#39687. Closes rust-lang#42148. Closes rust-lang#42956.
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Jan 11, 2018
Add tests to fixed issues. Closes rust-lang#36792. Closes rust-lang#38091. Closes rust-lang#39687. Closes rust-lang#42148. Closes rust-lang#42956.
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Jan 11, 2018
Add tests to fixed issues. Closes rust-lang#36792. Closes rust-lang#38091. Closes rust-lang#39687. Closes rust-lang#42148. Closes rust-lang#42956.
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Jan 12, 2018
Add tests to fixed issues. Closes rust-lang#36792. Closes rust-lang#38091. Closes rust-lang#39687. Closes rust-lang#42148. Closes rust-lang#42956.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We were trying to make a function that returns itself.
rustc overflows its stack.
cc @aturon
The text was updated successfully, but these errors were encountered: