Skip to content
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

Recursive type not caught #4550

Closed
jsternberg opened this issue Jan 20, 2013 · 1 comment
Closed

Recursive type not caught #4550

jsternberg opened this issue Jan 20, 2013 · 1 comment

Comments

@jsternberg
Copy link
Contributor

The following is enough to crash the compiler:

struct Node<T> {
    payload: T,
    mut next: Option<Node<T>>
}

I can include the backtrace if requested, but it's quite long.

@jdm
Copy link
Contributor

jdm commented Jan 20, 2013

The self-referential struct definition problem is being tracked in #4218.

@jdm jdm closed this as completed Jan 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants