about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-08-18 17:12:02 -0700
committerbors <bors@rust-lang.org>2013-08-18 17:12:02 -0700
commit8fff3f40f290df5bcd25bcefdc0e19f74d0af0a5 (patch)
tree8b0869e42997037fc6ad863315b248bc308d3145 /src/rustllvm/PassWrapper.cpp
parentb26e11db862a9f06556d2871b1b71e09f652e395 (diff)
parent0450cde37b70e7c32a2d5d359836b737c5fdc657 (diff)
downloadrust-8fff3f40f290df5bcd25bcefdc0e19f74d0af0a5.tar.gz
rust-8fff3f40f290df5bcd25bcefdc0e19f74d0af0a5.zip
auto merge of #8561 : kballard/rust/do-block-internal-err-msg, r=thestinger
When using a `do` block to call an internal iterator, if you forgot to
return a value from the body, it would tell you

    error: Do-block body must return bool, but returns () here. Perhaps
    you meant to write a `for`-loop?

This advice no longer applies as `for` loops are now for external
iterators. Delete this message outright and let it use the default error
message

    error: mismatched types: expected `bool` but found `()`

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