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 | 10cf3cb945b413c0fb81cf13c4bf4db762ba5377 (patch) | |
| tree | a122add349a1643c05b645f8edd3330f5e5f46af /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | e5c1d1cb7ee727246a6d453f52b5707e264387d5 (diff) | |
| download | rust-10cf3cb945b413c0fb81cf13c4bf4db762ba5377.tar.gz rust-10cf3cb945b413c0fb81cf13c4bf4db762ba5377.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 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
