diff options
| author | Ayush Singh <ayushdevel1325@gmail.com> | 2023-09-03 12:35:03 +0530 |
|---|---|---|
| committer | Ayush Singh <ayushdevel1325@gmail.com> | 2023-09-03 12:35:03 +0530 |
| commit | 56df6b81898efcdf4d486eb9baa16e1273f3c08e (patch) | |
| tree | cf33233ddff39f1464af6ea5f407abb57e89bcf9 /library/std/src/io/error | |
| parent | 33e796bbe1eaeadb3146060d7b47b97865582d52 (diff) | |
Move RawOsError defination to sys
Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
Diffstat (limited to 'library/std/src/io/error')
| -rw-r--r-- | library/std/src/io/error/repr_bitpacked.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/library/std/src/io/error/repr_bitpacked.rs b/library/std/src/io/error/repr_bitpacked.rs index f94f88bac41..6e7366b3635 100644 --- a/library/std/src/io/error/repr_bitpacked.rs +++ b/library/std/src/io/error/repr_bitpacked.rs @@ -374,9 +374,6 @@ static_assert!((TAG_MASK + 1).is_power_of_two()); static_assert!(align_of::<SimpleMessage>() >= TAG_MASK + 1); static_assert!(align_of::<Custom>() >= TAG_MASK + 1); -// `RawOsError` must be an alias for `i32`. -const _: fn(RawOsError) -> i32 = |os| os; - static_assert!(@usize_eq: TAG_MASK & TAG_SIMPLE_MESSAGE, TAG_SIMPLE_MESSAGE); static_assert!(@usize_eq: TAG_MASK & TAG_CUSTOM, TAG_CUSTOM); static_assert!(@usize_eq: TAG_MASK & TAG_OS, TAG_OS); |
