diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-12-07 21:14:20 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-12-08 23:04:38 -0800 |
| commit | 42f8a3366a8e687ac1df804f41cfe1d980ce9987 (patch) | |
| tree | bb82f47fbd7beebdd8bc87be71de9eec4b380462 /src/rt/rust_kernel.cpp | |
| parent | 6630d75a1d39aa7fedc924676eb48a38010ddd92 (diff) | |
| download | rust-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
