diff options
| author | bors <bors@rust-lang.org> | 2014-04-05 04:41:33 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-04-05 04:41:33 -0700 |
| commit | e7148592adde0b09d7bf34426e215c6c25fc7cd1 (patch) | |
| tree | 2c1fc0d2a516a8a0e02cc2dad1728ad296231519 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 3bfa05021db00aa04fe206292ed0e70342767aa4 (diff) | |
| parent | 3766453a422198c77df4970159dd3a56f05e1861 (diff) | |
| download | rust-e7148592adde0b09d7bf34426e215c6c25fc7cd1.tar.gz rust-e7148592adde0b09d7bf34426e215c6c25fc7cd1.zip | |
auto merge of #13330 : huonw/rust/loop-error, r=alexcrichton
rustc: move the check_loop pass earlier. This pass is purely AST based, and by running it earlier we emit more useful error messages, e.g. type inference fails in the case of `let r = break;` with few constraints on `r`, but it's more useful to be told that the `break` is outside the loop (rather than a type error) when it is. Closes #13292.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
