diff options
| author | David Wood <david@davidtw.co> | 2019-05-14 21:34:43 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2019-05-29 08:30:07 +0100 |
| commit | 41aaf7bc468759b4775b28fc039ff07c538d4ccb (patch) | |
| tree | 0a293a6a11881ff09a0f30c7e757ae021d464ff6 /src/test/incremental/thinlto | |
| parent | 4b9d80325a65b0375eea526409a0f3aaf1cbc23c (diff) | |
| download | rust-41aaf7bc468759b4775b28fc039ff07c538d4ccb.tar.gz rust-41aaf7bc468759b4775b28fc039ff07c538d4ccb.zip | |
Fix ICE with struct ctors and const generics.
This commit fixes a ICE where struct constructors were resulting in an ICE with const generics. Previously, a `match` in `type_of` did not have an arm for the `DefKind::Ctor` resolutions and therefore would assume that the type did not have generics.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
