about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorEmanuel Czirai <zazdxscf@gmail.com>2015-10-25 11:48:56 +0100
committerEmanuel Czirai <zazdxscf@gmail.com>2015-10-25 11:53:47 +0100
commit351efd55e90332d0b045324774ffc987d549c0a8 (patch)
tree55ba8bd246663a7188eebfe8617fd6f5a2087d02 /src/rustllvm/RustWrapper.cpp
parent04e497c0056aed899cd6edbc98e7a68a9b391c5c (diff)
downloadrust-351efd55e90332d0b045324774ffc987d549c0a8.tar.gz
rust-351efd55e90332d0b045324774ffc987d549c0a8.zip
compiletest: show usage/help when passed no args
instead of this panic:
```
thread '<main>' panicked at 'index out of bounds: the len is 1 but the
index is 1', src/libcollections/vec.rs:1110
```

It still panics, just like `-h` does, so it should be okay in this
regard.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions