forked from Proxmox/proxmox
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:
parent
f63ce12b66
commit
5988a1adf1
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user