diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-11-06 23:12:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-06 23:12:06 +0100 |
| commit | 43fee0e0a9ffae276d5b0e92e3243a6eccaadcd7 (patch) | |
| tree | 614121464f688d48a598f65332476c0b00c7890b /compiler/rustc_parse/src/parser/mod.rs | |
| parent | 5f0e6ca6a3bd38538fd6d14b21b5a6011a8c7baa (diff) | |
| parent | abb9a9853b094eeeea5ea784d188e842a17c5dc8 (diff) | |
| download | rust-43fee0e0a9ffae276d5b0e92e3243a6eccaadcd7.tar.gz rust-43fee0e0a9ffae276d5b0e92e3243a6eccaadcd7.zip | |
Rollup merge of #90646 - BoxyUwU:funky_ice, r=estebank
type error go brrrrrrrr Fixes #90444 when we relate something like: `fn(fn((), (), u32))` with `fn(fn((), (), ()))` we relate the inner fn ptrs: `fn((), (), u32)` with `fn((), (), ())` yielding a `TypeError::ArgumentSorts(_, 2)` which we then use as the `TypeError` for the `fn(fn(..))` which later causes the ICE as the `2` does not correspond to any input or output types in `fn(_)` r? `@estebank`
Diffstat (limited to 'compiler/rustc_parse/src/parser/mod.rs')
0 files changed, 0 insertions, 0 deletions
