diff options
| author | David Wood <david@davidtw.co> | 2019-05-16 22:00:27 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2019-05-17 09:12:40 +0100 |
| commit | bff8a86698195ba2d2798405d3535efdce2fccef (patch) | |
| tree | 4791a63441241e5de62c85e26b992d4868a2d70c /src/test/codegen | |
| parent | 7158ed9cbea805adf8161d3deaadba2f85b7692e (diff) | |
| download | rust-bff8a86698195ba2d2798405d3535efdce2fccef.tar.gz rust-bff8a86698195ba2d2798405d3535efdce2fccef.zip | |
Checking generic args after late bound region err.
This commit fixes an ICE that occurs when a late bound region error is emitted and that resulted in the rest of the generic arguments of a function not being checked. For example, you could specify a generic type parameter `T` in a function call `foo<'_, T>()` to a function that doesn't have a generic type parameter. Since an error wasn't emitted from the function, compilation continued to parts of typeck that didn't expect a generic type argument in a call for a function that didn't have any generic type arguments.
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions
