diff --git a/schemars_derive/src/schema_exprs.rs b/schemars_derive/src/schema_exprs.rs index 643de215..9bd81325 100644 --- a/schemars_derive/src/schema_exprs.rs +++ b/schemars_derive/src/schema_exprs.rs @@ -111,7 +111,7 @@ fn type_for_schema(with_attr: &WithAttr) -> (syn::Type, Option) { fn schema_id() -> std::borrow::Cow<'static, str> { std::borrow::Cow::Borrowed(std::concat!( - "_SchemarsSchemaWithFunction/" + "_SchemarsSchemaWithFunction/", std::module_path!(), "/", #fn_name