(&self, f: &mut core::fmt::Formatter<'_>)
| 28 | |
| 29 | impl<R: Clone + Copy + Debug + PartialEq + Eq + InvalidSentinel> Debug for ValueRegs<R> { |
| 30 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { |
| 31 | let mut f = f.debug_tuple("ValueRegs"); |
| 32 | let mut last_valid = true; |
| 33 | for part in self.parts { |
| 34 | if part.is_invalid_sentinel() { |
| 35 | last_valid = false; |
| 36 | } else { |
| 37 | debug_assert!(last_valid); |
| 38 | f.field(&part); |
| 39 | } |
| 40 | } |
| 41 | f.finish() |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | /// A type with an "invalid" sentinel value. |
nothing calls this directly
no test coverage detected