diff options
| author | bors <bors@rust-lang.org> | 2019-05-17 10:14:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-05-17 10:14:19 +0000 |
| commit | 39401465da4ce27aeeb2c2a26133ac35c63aa515 (patch) | |
| tree | e81c6ded74306f2cbcbfe02476638f06bc096182 /src/test/codegen | |
| parent | 68fd80fa1efb74863bda050b21edcd44125ee85b (diff) | |
| parent | bff8a86698195ba2d2798405d3535efdce2fccef (diff) | |
| download | rust-39401465da4ce27aeeb2c2a26133ac35c63aa515.tar.gz rust-39401465da4ce27aeeb2c2a26133ac35c63aa515.zip | |
Auto merge of #60892 - davidtwco:issue-60622, r=oli-obk
Checking generic args after late bound region err. Fixes #60622. This PR 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
