diff options
| author | Maja Kądziołka <maya@compilercrim.es> | 2025-03-03 12:54:26 +0100 |
|---|---|---|
| committer | Maja Kądziołka <maya@compilercrim.es> | 2025-03-07 16:16:36 +0100 |
| commit | 61f70003c2122313faf77185b6e5ec4bc2ba3bb5 (patch) | |
| tree | c3bc0b0b03c47959e4b5d0de200f1679b5e9f0db /compiler/rustc_codegen_llvm/src | |
| parent | 59a9b9e9d776cb5d6bc02e99c4dce4f94f622232 (diff) | |
| download | rust-61f70003c2122313faf77185b6e5ec4bc2ba3bb5.tar.gz rust-61f70003c2122313faf77185b6e5ec4bc2ba3bb5.zip | |
Add helper methods checking for "#[non_exhaustive] that's active"
A check for `#[non_exhaustive]` is often done in combination with checking whether the type is local to the crate, in a variety of ways. Create a helper method and standardize on it as the way to check for this.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
