diff options
| author | kennytm <kennytm@gmail.com> | 2018-02-07 03:23:24 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-07 03:23:24 +0800 |
| commit | a026e8a972729c7f97e40b78e0904a2cf321f227 (patch) | |
| tree | 2a78cc862151ac66a610ca069d9452666ff26cc1 /src/rustllvm/RustWrapper.cpp | |
| parent | 0a3e07dd72f98630b0f1282810a15240d3425170 (diff) | |
| parent | 61ff3ba5364ae7bbf93be5b892fa7c122d3cfab2 (diff) | |
| download | rust-a026e8a972729c7f97e40b78e0904a2cf321f227.tar.gz rust-a026e8a972729c7f97e40b78e0904a2cf321f227.zip | |
Rollup merge of #47986 - Gilnaa:libtest_relaxed, r=Mark-Simulacrum
libtest: Replace panics with error messages This replaces explicit panics on failures in libtest with prints to stderr. Where "failures" == CLI argument parsing and such Before: ``` $ ./foo-stable --not-an-option thread 'main' panicked at '"Unrecognized option: \'not-an-option\'"', libtest/lib.rs:251:27 note: Run with `RUST_BACKTRACE=1` for a backtrace. ``` After: ``` $ ./foo-nightly --not-an-option error: Unrecognized option: 'not-an-option' ```
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
