]> git.lizzy.rs Git - rust.git/commit
Add ICE regression test for issue #16218.
authorNathan Typanski <ntypanski@gmail.com>
Sun, 7 Sep 2014 05:43:02 +0000 (01:43 -0400)
committerNathan Typanski <ntypanski@gmail.com>
Sun, 7 Sep 2014 07:58:35 +0000 (03:58 -0400)
commitd80729a8e409e9c58472cecc99923fa4f440f486
treee29f386c85095c32197de645d483455808106b45
parentc964cb229bd342bdeb0b4506c3a6d32b03e575f6
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.
src/test/compile-fail/generic-lifetime-trait-impl.rs [new file with mode: 0644]