#[diagnostic::on_unimplemented(
message = "type `{Self}` doesn't support regex overrides in `sscanf!`",
label = "can't use regex override for this type",
note = "Regex overrides are mostly only available for simple types. For more complex types, consider implementing `FromScanf` for a wrapper.",
note = "See the `AcceptsRegexOverride` documentation for details: <https://docs.rs/sscanf/latest/sscanf/advanced/trait.AcceptsRegexOverride.html>"
)]
pub trait AcceptsRegexOverride<'input>: Sized {
fn from_regex_match(input: &'input str, options: &super::FormatOptions) -> Option<Self>;
}