Add ICE regression test for issue #16218. #17062

Merged
merged 1 commit into from Sep 9, 2014

Projects

None yet

4 participants

@nathantypanski
Contributor

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 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.
d80729a
@alexcrichton

r+, thanks!

@brson
Contributor
brson commented Sep 8, 2014

😍

@alexcrichton alexcrichton added a commit to alexcrichton/rust that referenced this pull request Sep 9, 2014
@alexcrichton alexcrichton rollup merge of #17062 : nathantypanski/generic-lifetime-trait-impl b797f7d
@alexcrichton alexcrichton added a commit to alexcrichton/rust that referenced this pull request Sep 9, 2014
@alexcrichton alexcrichton rollup merge of #17062 : nathantypanski/generic-lifetime-trait-impl 2703fcf
@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