about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-07-19 15:10:14 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-07-20 13:12:30 +0200
commitc83602a70239cf3d8c7d8e07e5041de6838e0cd9 (patch)
tree859c9feb2eb9c428c12554ff4cde0413caa3ddb3 /src/rustllvm/RustWrapper.cpp
parent4260c8b1e4b273facf1072b9457dfaedd7f03f3e (diff)
downloadrust-c83602a70239cf3d8c7d8e07e5041de6838e0cd9.tar.gz
rust-c83602a70239cf3d8c7d8e07e5041de6838e0cd9.zip
When type-checking binops, LHS of assign-op like `+=` is invariant.
Therefore we cannot coerce it to a supertype the same way that we can
the LHS of `+`.

Addresses issue 52126.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions