about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-01-10 21:44:14 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-01-27 09:40:45 -0500
commitc7ef9c1edf5d659f3d44cc19509f644125ea03a1 (patch)
tree6abd51ae137be261b407d528a60203790f12de1a /src/rustllvm/RustWrapper.cpp
parent60db57e7eccf292064c1fc47b426e9df1a7332aa (diff)
downloadrust-c7ef9c1edf5d659f3d44cc19509f644125ea03a1.tar.gz
rust-c7ef9c1edf5d659f3d44cc19509f644125ea03a1.zip
Fix two type inference failures uncovered by japaric corresponding to
UFCS form. In both cases the problems came about because we were
failing to process pending trait obligations. So change code to
process pending trait obligations before coercions to ensure maximum
type information is available (and also adjust shift to do something
similar).

Fixes #21245.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions