diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2018-11-08 18:15:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-08 18:15:03 -0700 |
| commit | 792476516f3faeafb873b63e00acebab70ab001d (patch) | |
| tree | 9652ff6cc00f04357f80967321a7d2141b851a97 /src/rustllvm/RustWrapper.cpp | |
| parent | 96ee13a56d856f6d0d58da796389c0b49f438bc8 (diff) | |
| parent | f63c2f80e51a1942a28c660adad0d3bad74574e2 (diff) | |
| download | rust-792476516f3faeafb873b63e00acebab70ab001d.tar.gz rust-792476516f3faeafb873b63e00acebab70ab001d.zip | |
Rollup merge of #55742 - F001:fix-55718, r=petrochenkov
Avoid panic when matching function call
Fix #55718
This bug is introduced by #53751. The original code checked `Def::AssociatedConst(..) | Def::Method(..)` before `pat_ty.no_bound_vars().expect("expected fn type")`. But somehow I exchanged the sequence carelessly. Sorry about that.
r? @petrochenkov
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
