diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-06-26 00:42:12 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-26 00:42:12 +0900 |
| commit | 9e4649995f2245115845fc72c1311586f480f8f9 (patch) | |
| tree | b228d354c8468754da4285ee387056a4d9dec829 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 6be1732e69c2bf4706f0b745941a49b5a328c2f8 (diff) | |
| parent | 3f14f4b3cec811017079564e16a92a1dc9870f41 (diff) | |
| download | rust-9e4649995f2245115845fc72c1311586f480f8f9.tar.gz rust-9e4649995f2245115845fc72c1311586f480f8f9.zip | |
Rollup merge of #86592 - jhpratt:non_exhaustive, r=JohnTitor
Use `#[non_exhaustive]` where appropriate Due to the std/alloc split, it is not possible to make `alloc::collections::TryReserveError::AllocError` non-exhaustive without having an unstable, doc-hidden method to construct (which negates the benefits from `#[non_exhaustive]`). `@rustbot` label +C-cleanup +T-libs +S-waiting-on-review
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
