about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-04-05 10:05:31 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-04-05 10:52:28 +1100
commit3766453a422198c77df4970159dd3a56f05e1861 (patch)
tree796e295c63a00380be076ad80bfd0d701c2479f8 /src/rustllvm/ExecutionEngineWrapper.cpp
parente5f1b9f6dc9418325f83d9766c7cfab30cb48018 (diff)
downloadrust-3766453a422198c77df4970159dd3a56f05e1861.tar.gz
rust-3766453a422198c77df4970159dd3a56f05e1861.zip
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 its more useful to be told that
the `break` is outside a 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