about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-07-24 09:50:00 +0800
committerGitHub <noreply@github.com>2018-07-24 09:50:00 +0800
commit3efc612a930822ea1b9c6749a3d146235c324a83 (patch)
treea558997b7277f80d80d3691d0d05d4982622e824 /src/rustllvm/PassWrapper.cpp
parent378ef99eb3849033fa298ce0953c35a6d5a0b16b (diff)
parentfe588d894fa392fdf787c18a959b342d38d0c71c (diff)
downloadrust-3efc612a930822ea1b9c6749a3d146235c324a83.tar.gz
rust-3efc612a930822ea1b9c6749a3d146235c324a83.zip
Rollup merge of #52642 - ljedrz:expect_fun_call, r=Mark-Simulacrum
Replace a few expect+format combos with unwrap_or_else+panic

That way the error strings won't be created if the related errors are not triggered.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions