Skip to content

Fix ICE in EXPL_IMPL_CLONE_ON_COPY #667

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

Merged
merged 1 commit into from
Feb 15, 2016
Merged

Conversation

mcarton
Copy link
Member

@mcarton mcarton commented Feb 14, 2016

Ignores generics with lifetimes. The built-in MISSING_COPY_IMPLEMENTATIONS lint ignores lifetimes¹, I guess there must be reasons we can’t use them.

Closes #666.

1 : ignores all generics really, but we have tests for generics without lts and it works™.

@Manishearth
Copy link
Member

ICE goes away, thanks!

Manishearth added a commit that referenced this pull request Feb 15, 2016
Fix ICE in `EXPL_IMPL_CLONE_ON_COPY`
@Manishearth Manishearth merged commit 7843f3f into rust-lang:master Feb 15, 2016
@mcarton mcarton deleted the fix-ice branch February 15, 2016 01:59
@mcarton
Copy link
Member Author

mcarton commented Feb 15, 2016

After the 100th lint, the 1000th commit 🍰

@Manishearth
Copy link
Member

whoa nice 💯 🎊 :D

@eddyb
Copy link
Member

eddyb commented Feb 15, 2016

I don't think this is the correct solution but a hacky band-aid.
Like I said before, the likely culprit is ast_ty_to_ty_cache.

@Manishearth
Copy link
Member

Generics make the situation a bit more complicated anyway so the band aid is okay with me. But yeah, perhaps we should try that.

@Manishearth
Copy link
Member

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

Successfully merging this pull request may close these issues.

3 participants