Skip to content

Commit

Permalink
update #[derive(Schema)] error referencing postcard::experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
max-heller committed Feb 2, 2025
1 parent b5135bc commit 4f49203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/postcard-derive/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl Generator {
}
Data::Union(_) => Err(syn::Error::new(
span,
"unions are not supported by `postcard::experimental::schema`",
"#[derive(Schema)] does not support unions",
)),
}
}
Expand Down

0 comments on commit 4f49203

Please sign in to comment.