diff options
| author | bors <bors@rust-lang.org> | 2015-06-15 05:11:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-06-15 05:11:53 +0000 |
| commit | a54a80921971791b1148b7633cb43029f7d2ef9b (patch) | |
| tree | 9f48fc8af5402cf352a9c474f22286fe67d35ff4 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 7d046230338e117c8a7c85bb4d542f2787d5ef9d (diff) | |
| parent | 0937c10f3ca21585f0cb00c1a112e4ff4a742456 (diff) | |
| download | rust-a54a80921971791b1148b7633cb43029f7d2ef9b.tar.gz rust-a54a80921971791b1148b7633cb43029f7d2ef9b.zip | |
Auto merge of #25359 - thepowersgang:result-expect-2, r=alexcrichton
As it says in the title. I've added an `expect` method to `Result` that allows printing both an error message (e.g. what operation was attempted), and the error value. This is separate from the `unwrap` and `ok().expect("message")` behaviours.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
