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-12-07 21:14:20 -0800
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-12-08 23:04:38 -0800
commit42f8a3366a8e687ac1df804f41cfe1d980ce9987 (patch)
treebb82f47fbd7beebdd8bc87be71de9eec4b380462 /src/rt/rust_kernel.cpp
parent6630d75a1d39aa7fedc924676eb48a38010ddd92 (diff)
downloadrust-42f8a3366a8e687ac1df804f41cfe1d980ce9987.tar.gz
rust-42f8a3366a8e687ac1df804f41cfe1d980ce9987.zip
Print out a more helpful type error message for do-blocks/for-loops
If a do-block body has the wrong type, or a for-loop body has a
non-() type, suggest that the user might have meant the other one.

Closes #2817

r=brson
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions