diff --git a/schemars/src/json_schema_impls/core.rs b/schemars/src/json_schema_impls/core.rs index f0bf60c..1734ddb 100644 --- a/schemars/src/json_schema_impls/core.rs +++ b/schemars/src/json_schema_impls/core.rs @@ -85,18 +85,6 @@ impl JsonSchema for std::marker::PhantomData { } } -impl JsonSchema for std::convert::Infallible { - no_ref_schema!(); - - fn schema_name() -> String { - "Never".to_owned() - } - - fn json_schema(gen: &mut SchemaGenerator) -> Schema { - gen.schema_for_none() - } -} - #[cfg(test)] mod tests { use super::*;