| 1 | use proc_macro2rust-analyzer cargo proc-macro2 1.0.107 crate/::Spanrust-analyzer cargo proc-macro2 1.0.107 Span#; |
| 2 | use synrust-analyzer cargo syn 2.0.119 crate/::Variantrust-analyzer cargo syn 2.0.119 data/Variant#; |
| 3 | |
| 4 | #[inline] |
| 5 | pub(craterust-analyzer cargo educe 0.6.0 crate/) fn multiple_deref_mut_fieldsrust-analyzer cargo educe 0.6.0 trait_handlers/deref_mut/panic/multiple_deref_mut_fields().(span: Spanrust-analyzer cargo proc-macro2 1.0.107 Span#) -> synrust-analyzer cargo syn 2.0.119 crate/::Errorrust-analyzer cargo syn 2.0.119 error/Error# { |
| 6 | synrust-analyzer cargo syn 2.0.119 crate/::Errorrust-analyzer cargo syn 2.0.119 error/Error#::newrust-analyzer cargo syn 2.0.119 error/impl#[Error]new().(span, "multiple fields are set for `DerefMut`") |
| 7 | } |
| 8 | |
| 9 | #[inline] |
| 10 | pub(craterust-analyzer cargo educe 0.6.0 crate/) fn multiple_deref_mut_fields_of_variantrust-analyzer cargo educe 0.6.0 trait_handlers/deref_mut/panic/multiple_deref_mut_fields_of_variant().(span: Spanrust-analyzer cargo proc-macro2 1.0.107 Span#, variant: &Variantrust-analyzer cargo syn 2.0.119 data/Variant#) -> synrust-analyzer cargo syn 2.0.119 crate/::Errorrust-analyzer cargo syn 2.0.119 error/Error# { |
| 11 | synrust-analyzer cargo syn 2.0.119 crate/::Errorrust-analyzer cargo syn 2.0.119 error/Error#::newrust-analyzer cargo syn 2.0.119 error/impl#[Error]new().( |
| 12 | span, |
| 13 | formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!("multiple fields of the `{}` variant are set for `DerefMut`", variant.identrust-analyzer cargo syn 2.0.119 data/Variant#ident.), |
| 14 | ) |
| 15 | } |
| 16 | |
| 17 | #[inline] |
| 18 | pub(craterust-analyzer cargo educe 0.6.0 crate/) fn no_deref_mut_fieldrust-analyzer cargo educe 0.6.0 trait_handlers/deref_mut/panic/no_deref_mut_field().(span: Spanrust-analyzer cargo proc-macro2 1.0.107 Span#) -> synrust-analyzer cargo syn 2.0.119 crate/::Errorrust-analyzer cargo syn 2.0.119 error/Error# { |
| 19 | synrust-analyzer cargo syn 2.0.119 crate/::Errorrust-analyzer cargo syn 2.0.119 error/Error#::newrust-analyzer cargo syn 2.0.119 error/impl#[Error]new().(span, "there is no field which is assigned for `DerefMut`") |
| 20 | } |
| 21 | |
| 22 | #[inline] |
| 23 | pub(craterust-analyzer cargo educe 0.6.0 crate/) fn no_deref_mut_field_of_variantrust-analyzer cargo educe 0.6.0 trait_handlers/deref_mut/panic/no_deref_mut_field_of_variant().(span: Spanrust-analyzer cargo proc-macro2 1.0.107 Span#, variant: &Variantrust-analyzer cargo syn 2.0.119 data/Variant#) -> synrust-analyzer cargo syn 2.0.119 crate/::Errorrust-analyzer cargo syn 2.0.119 error/Error# { |
| 24 | synrust-analyzer cargo syn 2.0.119 crate/::Errorrust-analyzer cargo syn 2.0.119 error/Error#::newrust-analyzer cargo syn 2.0.119 error/impl#[Error]new().( |
| 25 | span, |
| 26 | formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!( |
| 27 | "there is no field for the `{}` variant which is assigned for `DerefMut`", |
| 28 | variant.identrust-analyzer cargo syn 2.0.119 data/Variant#ident. |
| 29 | ), |
| 30 | ) |
| 31 | } |