about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-10-14 09:53:39 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-10-14 12:50:55 +0530
commitcdefef203bc7f8b9825760129a8684a878af61da (patch)
tree333ad094d78498a8293f1e643d296608cd1cf79d /src/rustllvm/RustWrapper.cpp
parent8f3e05da858dce54f6468d5f193938f3a745f797 (diff)
parented2a11da89252774fe15bd0eafdf94545ad4644f (diff)
downloadrust-cdefef203bc7f8b9825760129a8684a878af61da.tar.gz
rust-cdefef203bc7f8b9825760129a8684a878af61da.zip
Rollup merge of #29006 - arielb1:callee-outlives-call, r=pnkfelix
This rather crucial requirement was not checked. In most cases, that
didn't cause any trouble because the argument types are required to
outlive the call and are subtypes of a subformula of the callee type.

However, binary ops are taken by ref only indirectly, without it being
marked in the argument types, which led to the argument types not being
constrained anywhere causing spurious errors (as these are basically
unconstrainable, I don't think this change can break code). Of course,
the old way was also incorrent with contravariance, but that is still
unsound for other reasons.

This also improves rustc::front to get RUST_LOG to *somewhat* work.

Fixes #28999. That issue is one of the several regression introduced by #28669.

r? @pnkfelix
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions