about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-08-26 22:09:38 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2014-08-29 17:39:09 +1000
commit2e4a21c2c2cc0702044dabf11d0839e4ed65a079 (patch)
treea92c6333dd6787a919a76dd8d90b87ed4732d650 /src/rustllvm/RustWrapper.cpp
parente3549ee202355731003002e813cf071cd89f04cb (diff)
downloadrust-2e4a21c2c2cc0702044dabf11d0839e4ed65a079.tar.gz
rust-2e4a21c2c2cc0702044dabf11d0839e4ed65a079.zip
Mention type of `for` exprs that don't implement Iterator.
This improves the error message by telling the user the exact type of
`x` if it doesn't implement `Iterator` in `for ... in x {}`.

Closes #16043.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions