about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-18 11:57:46 +0000
committerbors <bors@rust-lang.org>2018-08-18 11:57:46 +0000
commit7de3dea2b76786077ad51b31d167867e5ecdfdbc (patch)
treeb6195737fbae2677c046a09e8bcaff827856f078 /src/rustllvm/PassWrapper.cpp
parentd5b6b95aef94169b5dbe4dbb1357d4bab1fc9800 (diff)
parenta19db49c863f28103a3ae64423b88574ccf700ff (diff)
downloadrust-7de3dea2b76786077ad51b31d167867e5ecdfdbc.tar.gz
rust-7de3dea2b76786077ad51b31d167867e5ecdfdbc.zip
Auto merge of #53175 - matthewjasper:more-return-stuff, r=nikomatsakis
[NLL] Returns are interesting for free regions

Based on #53088 - creating now to get feedback.

Closes #51175

* Make assigning to the return type interesting.
* Use "returning this value" instead of "return" in error messages.
* Prefer one of the explanations that we have a name for to a generic interesting cause in some cases.
* Treat causes that involve the destination of a call like assignments.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions