drop automatically_derived attribute for now

new rustc seems to *sometimes* complain about it

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-10-12 14:49:10 +02:00
parent f63ce12b66
commit 5988a1adf1
2 changed files with 0 additions and 4 deletions

View File

@ -77,7 +77,6 @@ pub fn handle_enum(
Ok(quote_spanned! { name.span() =>
#enum_ty
#[automatically_derived]
impl ::proxmox_schema::ApiType for #name {
const API_SCHEMA: ::proxmox_schema::Schema =
#schema

View File

@ -84,7 +84,6 @@ fn finish_schema(
Ok(quote_spanned! { name.span() =>
#stru
#[automatically_derived]
impl ::proxmox_schema::ApiType for #name {
const API_SCHEMA: ::proxmox_schema::Schema = #schema;
}
@ -353,7 +352,6 @@ fn finish_all_of_struct(
#inner_schema
}
#[automatically_derived]
impl ::proxmox_schema::ApiType for #name {
const API_SCHEMA: ::proxmox_schema::Schema =
::proxmox_schema::AllOfSchema::new(
@ -443,7 +441,6 @@ fn derive_updater(
if !is_empty_impl.is_empty() {
output.extend(quote::quote!(
#[automatically_derived]
impl ::proxmox_schema::Updater for #updater_name {
fn is_empty(&self) -> bool {
#is_empty_impl