Skip to content

'rustc' has overflowed its stack -- illegal hardware instruction #13849

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

Closed
carllerche opened this issue Apr 29, 2014 · 1 comment
Closed

'rustc' has overflowed its stack -- illegal hardware instruction #13849

carllerche opened this issue Apr 29, 2014 · 1 comment

Comments

@carllerche
Copy link
Member

Repro:

trait Node<N: Node> {
    fn children(&self) -> Iterator<N>;
}

trait Graph<N: Node> {
    fn nodes(&self) -> Iterator<N>;
}

pub fn main() {
}
@alexcrichton
Copy link
Member

Closing as a dupe of #11824
Sadly the compiler doesn't currently handle trait Node<N: Node> that well.

flip1995 pushed a commit to flip1995/rust that referenced this issue Feb 28, 2025
changelog: [`manual_midpoint`]: new lint

Closes rust-lang#13849
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