diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2021-06-24 04:16:11 -0400 |
|---|---|---|
| committer | Jacob Pratt <jacob@jhpratt.dev> | 2021-06-24 04:16:11 -0400 |
| commit | 3f14f4b3cec811017079564e16a92a1dc9870f41 (patch) | |
| tree | 6f8c9207dd0c8cefa35d69a7d15ce756772586ca /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 6a758ea7e48416b968955535094479dc2e7cc9e1 (diff) | |
| download | rust-3f14f4b3cec811017079564e16a92a1dc9870f41.tar.gz rust-3f14f4b3cec811017079564e16a92a1dc9870f41.zip | |
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]`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
