//! For the time being, `BsonSchema` can't be automatically derived for a `union`.
usesyn::{ Attribute, DataUnion };useproc_macro2::TokenStream;useerror::{ Error,Result};/// Implements `BsonSchema` for a `union`.
pubfnimpl_bson_schema_union(_: Vec<Attribute>, _: DataUnion)->Result<TokenStream>{Err(Error::new("`BsonSchema` can't be implemented for unions"))}