| 246 | #[derive(Debug)] |
| 247 | #[allow(clippy::enum_variant_names)] |
| 248 | enum ParseErrorKind { |
| 249 | EmptyFlag, |
| 250 | InvalidNamedFlag { |
| 251 | #[cfg(not(feature = "std"))] |
| 252 | got: (), |
| 253 | #[cfg(feature = "std")] |
| 254 | got: String, |
| 255 | }, |
| 256 | InvalidHexFlag { |
| 257 | #[cfg(not(feature = "std"))] |
| 258 | got: (), |
| 259 | #[cfg(feature = "std")] |
| 260 | got: String, |
| 261 | }, |
| 262 | } |
| 263 | |
| 264 | impl ParseError { |
| 265 | /// An invalid hex flag was encountered. |
nothing calls this directly
no outgoing calls
no test coverage detected