diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-07-30 12:30:56 -0700 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-07-30 12:30:58 -0700 |
| commit | fc2c1f8ddc9a460c558741ae44b894faf3967f7c (patch) | |
| tree | b0472fdbd8f18c9ef5b216a3f014103c154de76f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 6b09c37ddc240e25748e53d7a8f81f252def6dee (diff) | |
| download | rust-fc2c1f8ddc9a460c558741ae44b894faf3967f7c.tar.gz rust-fc2c1f8ddc9a460c558741ae44b894faf3967f7c.zip | |
Make `Option::unwrap` unstably const
`Result::unwrap` is not eligible becuase it formats the contents of the `Err` variant. `unwrap_or`, `unwrap_or_else` and friends are not eligible because they drop things or invoke closures.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
