about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-06-26 00:42:12 +0900
committerGitHub <noreply@github.com>2021-06-26 00:42:12 +0900
commit9e4649995f2245115845fc72c1311586f480f8f9 (patch)
treeb228d354c8468754da4285ee387056a4d9dec829 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent6be1732e69c2bf4706f0b745941a49b5a328c2f8 (diff)
parent3f14f4b3cec811017079564e16a92a1dc9870f41 (diff)
downloadrust-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