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:
@ -77,7 +77,6 @@ pub fn handle_enum(
|
|||||||
Ok(quote_spanned! { name.span() =>
|
Ok(quote_spanned! { name.span() =>
|
||||||
#enum_ty
|
#enum_ty
|
||||||
|
|
||||||
#[automatically_derived]
|
|
||||||
impl ::proxmox_schema::ApiType for #name {
|
impl ::proxmox_schema::ApiType for #name {
|
||||||
const API_SCHEMA: ::proxmox_schema::Schema =
|
const API_SCHEMA: ::proxmox_schema::Schema =
|
||||||
#schema
|
#schema
|
||||||
|
@ -84,7 +84,6 @@ fn finish_schema(
|
|||||||
Ok(quote_spanned! { name.span() =>
|
Ok(quote_spanned! { name.span() =>
|
||||||
#stru
|
#stru
|
||||||
|
|
||||||
#[automatically_derived]
|
|
||||||
impl ::proxmox_schema::ApiType for #name {
|
impl ::proxmox_schema::ApiType for #name {
|
||||||
const API_SCHEMA: ::proxmox_schema::Schema = #schema;
|
const API_SCHEMA: ::proxmox_schema::Schema = #schema;
|
||||||
}
|
}
|
||||||
@ -353,7 +352,6 @@ fn finish_all_of_struct(
|
|||||||
#inner_schema
|
#inner_schema
|
||||||
}
|
}
|
||||||
|
|
||||||
#[automatically_derived]
|
|
||||||
impl ::proxmox_schema::ApiType for #name {
|
impl ::proxmox_schema::ApiType for #name {
|
||||||
const API_SCHEMA: ::proxmox_schema::Schema =
|
const API_SCHEMA: ::proxmox_schema::Schema =
|
||||||
::proxmox_schema::AllOfSchema::new(
|
::proxmox_schema::AllOfSchema::new(
|
||||||
@ -443,7 +441,6 @@ fn derive_updater(
|
|||||||
|
|
||||||
if !is_empty_impl.is_empty() {
|
if !is_empty_impl.is_empty() {
|
||||||
output.extend(quote::quote!(
|
output.extend(quote::quote!(
|
||||||
#[automatically_derived]
|
|
||||||
impl ::proxmox_schema::Updater for #updater_name {
|
impl ::proxmox_schema::Updater for #updater_name {
|
||||||
fn is_empty(&self) -> bool {
|
fn is_empty(&self) -> bool {
|
||||||
#is_empty_impl
|
#is_empty_impl
|
||||||
|
Reference in New Issue
Block a user