about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-03-10 20:35:41 -0800
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-03-10 20:35:41 -0800
commit8ab075ee456fd426090d5927d6fa53677988aa51 (patch)
tree68342aa9a1332ea0a2e619abbfa9633b2d900fa4 /src/rt/rust_kernel.cpp
parent205cefdc6e0e53c6df8075b5c37edd4e0803a598 (diff)
downloadrust-8ab075ee456fd426090d5927d6fa53677988aa51.tar.gz
rust-8ab075ee456fd426090d5927d6fa53677988aa51.zip
Clean up occurs check code and give non-breaking loop {..}s _|_ type
The latter change is so that code dominated by a loop{ } without a
break gets considered unreachable.

The former change is just cosmetic (occurs_check_fails was a predicate
when it should be a unit-typed function that can fail).
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions