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

Certain wrong code crashes nightly rustc #36051

Closed
vlad9486 opened this issue Aug 27, 2016 · 1 comment
Closed

Certain wrong code crashes nightly rustc #36051

vlad9486 opened this issue Aug 27, 2016 · 1 comment

Comments

@vlad9486
Copy link

The crash happens when trait method returns Option<Self> but implementation returns just Self. It happens only on nightly version. Playground

@Stebalien
Copy link
Contributor

Dup of #35869. Should be fixed by #35877

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