Fix errors

pull/3755/head
dullbananas 2023-08-02 13:25:35 -07:00 committed by GitHub
parent 36a5210352
commit a283d155e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -29,6 +29,7 @@ extern crate macro_rules_attribute;
extern crate paste;
#[cfg(feature = "full")]
#[allow(unused_imports)]
#[macro_use]
mod without_id;
pub mod aggregates;

View File

@ -32,8 +32,7 @@ macro_rules! WithoutId {
}
) => {
::paste::paste! {
// TODO: remove serde derives
#[derive(::diesel::Queryable, ::diesel::Selectable, ::serde::Serialize, ::serde::Deserialize)]
#[derive(::diesel::Queryable, ::diesel::Selectable)]
#[diesel(table_name = $table_name)]
$vis struct [<$struct_name WithoutId>] {
$(