diff options
| author | Kevin Ballard <kevin@sb.org> | 2013-08-16 13:55:26 -0700 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2013-08-16 14:12:06 -0700 |
| commit | 0450cde37b70e7c32a2d5d359836b737c5fdc657 (patch) | |
| tree | dfb33488486de493a43e907cbdb7c905dcb8699c /src/rustllvm/PassWrapper.cpp | |
| parent | 680eb71564ebba5e76ce1e1a8287b30042332cc5 (diff) | |
| download | rust-0450cde37b70e7c32a2d5d359836b737c5fdc657.tar.gz rust-0450cde37b70e7c32a2d5d359836b737c5fdc657.zip | |
Remove obsolete error message regarding do-blocks with internal iters
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 `()`
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
