diff options
| author | bors <bors@rust-lang.org> | 2014-06-14 10:36:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-14 10:36:46 +0000 |
| commit | d64f18c490981f33f33e9c24e1ed1316e63f11fc (patch) | |
| tree | 71afdad0d3676e3c56b94bf39e866dd00d4c3f37 /src/compiletest | |
| parent | dbd29ea96ef77a67496bb44de382140354c23632 (diff) | |
| parent | 09eb95f24165b2a7eec6a599b0a4bad86ff6892d (diff) | |
| download | rust-d64f18c490981f33f33e9c24e1ed1316e63f11fc.tar.gz rust-d64f18c490981f33f33e9c24e1ed1316e63f11fc.zip | |
auto merge of #14884 : huonw/rust/getoptsfail, r=alexcrichton
Diffstat (limited to 'src/compiletest')
| -rw-r--r-- | src/compiletest/compiletest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/compiletest.rs b/src/compiletest/compiletest.rs index 977b7dc32c5..1d7f36d0fe0 100644 --- a/src/compiletest/compiletest.rs +++ b/src/compiletest/compiletest.rs @@ -110,7 +110,7 @@ pub fn parse_config(args: Vec<String> ) -> Config { let matches = &match getopts::getopts(args_.as_slice(), groups.as_slice()) { Ok(m) => m, - Err(f) => fail!("{}", f.to_err_msg()) + Err(f) => fail!("{}", f) }; if matches.opt_present("h") || matches.opt_present("help") { |
