| 113 | /// This does not allocate (unless your error allocates, of course). |
| 114 | #[derive(thiserror::Error, Debug, Clone, Default, PartialEq, Eq)] |
| 115 | pub struct ErrorStream<E>(smallvec::SmallVec<[E; 1]>); |
| 116 | |
| 117 | impl<E> ErrorStream<E> { |
| 118 | /// Build an error stream from a non-empty collection. |
no outgoing calls
no test coverage detected
searching dependent graphs…