File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -374,10 +374,10 @@ static_assert!((TAG_MASK + 1).is_power_of_two());
374374static_assert ! ( align_of:: <SimpleMessage >( ) >= TAG_MASK + 1 ) ;
375375static_assert ! ( align_of:: <Custom >( ) >= TAG_MASK + 1 ) ;
376376
377- static_assert ! ( @usize_eq: ( TAG_MASK & TAG_SIMPLE_MESSAGE ) , TAG_SIMPLE_MESSAGE ) ;
378- static_assert ! ( @usize_eq: ( TAG_MASK & TAG_CUSTOM ) , TAG_CUSTOM ) ;
379- static_assert ! ( @usize_eq: ( TAG_MASK & TAG_OS ) , TAG_OS ) ;
380- static_assert ! ( @usize_eq: ( TAG_MASK & TAG_SIMPLE ) , TAG_SIMPLE ) ;
377+ static_assert ! ( @usize_eq: TAG_MASK & TAG_SIMPLE_MESSAGE , TAG_SIMPLE_MESSAGE ) ;
378+ static_assert ! ( @usize_eq: TAG_MASK & TAG_CUSTOM , TAG_CUSTOM ) ;
379+ static_assert ! ( @usize_eq: TAG_MASK & TAG_OS , TAG_OS ) ;
380+ static_assert ! ( @usize_eq: TAG_MASK & TAG_SIMPLE , TAG_SIMPLE ) ;
381381
382382// This is obviously true (`TAG_CUSTOM` is `0b01`), but in `Repr::new_custom` we
383383// offset a pointer by this value, and expect it to both be within the same
You can’t perform that action at this time.
0 commit comments