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

Add ICE regression test for issue #16218. #17062

Merged
merged 1 commit into from Sep 9, 2014

Conversation

Projects
None yet
4 participants
@nathantypanski
Contributor

nathantypanski commented Sep 7, 2014

This code used to produce an ICE on the definition of trait Bar
with the following message:

Type parameter out of range when substituting in region 'a (root
type=fn(Self) -> 'astr) (space=FnSpace, index=0)

Closes #16218.

@nathantypanski nathantypanski force-pushed the nathantypanski:generic-lifetime-trait-impl branch from 2bba56f to 344613a Sep 7, 2014

Add ICE regression test for issue #16218.
This code used to produce an ICE on the definition of trait Bar
with the following message:

Type parameter out of range when substituting in region 'a (root
type=fn(Self) -> 'astr) (space=FnSpace, index=0)

Closes #16218.

@nathantypanski nathantypanski force-pushed the nathantypanski:generic-lifetime-trait-impl branch from 344613a to d80729a Sep 7, 2014

@alexcrichton

This comment has been minimized.

alexcrichton commented on d80729a Sep 7, 2014

r+, thanks!

@brson

This comment has been minimized.

Contributor

brson commented Sep 8, 2014

😍

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Sep 9, 2014

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Sep 9, 2014

@bors bors merged commit d80729a into rust-lang:master Sep 9, 2014

1 check failed

continuous-integration/travis-ci The Travis CI build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment