Skip to content

Commit

Permalink
Rollup merge of #72441 - doctorn:late-bound-lifetime-ice, r=nikomatsakis
Browse files Browse the repository at this point in the history
Fix ICE with explicit late-bound lifetimes

Rather than returning an explicit late-bound lifetime as a generic argument count mismatch (which is not necessarily true), this PR propagates the presence of explicit late-bound lifetimes.

This avoids an ICE that can occur due to the presence of explicit late-bound lifetimes when building generic substitutions by explicitly ignoring them.

r? @varkor

cc @davidtwco (this removes a check you introduced in #60892)

Resolves #72278
  • Loading branch information
RalfJung authored May 30, 2020
2 parents 93d45a0 + fa351ee commit 49ca99d
Show file tree
Hide file tree
Showing 5 changed files with 241 additions and 131 deletions.
Loading

0 comments on commit 49ca99d

Please sign in to comment.