about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-11-06 03:28:17 +0100
committerGitHub <noreply@github.com>2019-11-06 03:28:17 +0100
commit32e745fc9449d6ab066079025d0b4685e0d6373b (patch)
tree37ed4c2998fbb45bbd7557486ba5f378d6bfed7d /src/rustllvm/RustWrapper.cpp
parent409b2bf941b2724a028f65518c64f799f205a186 (diff)
parentb0f258b2c4c5bc0764890e4989874783a8d37db3 (diff)
downloadrust-32e745fc9449d6ab066079025d0b4685e0d6373b.tar.gz
rust-32e745fc9449d6ab066079025d0b4685e0d6373b.zip
Rollup merge of #66101 - estebank:break-tail-e0308, r=Centril
Tweak type mismatch caused by break on tail expr

When `break;` has a type mismatch because the `Destination` points at a tail
expression with an obligation flowing from a return type, point at the
return type.

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