@@ -62,7 +62,7 @@ impl SubdiagnosticDeriveBuilder {
6262
6363 structure. bind_with ( |_| synstructure:: BindStyle :: Move ) ;
6464 let variants_ = structure. each_variant ( |variant| {
65- let mut builder = SubdiagnosticDeriveVariantBuilder {
65+ let mut builder = SubdiagDeriveVariantBuilder {
6666 parent : & self ,
6767 variant,
6868 span,
@@ -107,7 +107,7 @@ impl SubdiagnosticDeriveBuilder {
107107/// for the final generated method. This is a separate struct to `SubdiagnosticDerive`
108108/// only to be able to destructure and split `self.builder` and the `self.structure` up to avoid a
109109/// double mut borrow later on.
110- struct SubdiagnosticDeriveVariantBuilder < ' parent , ' a > {
110+ struct SubdiagDeriveVariantBuilder < ' parent , ' a > {
111111 /// The identifier to use for the generated `Diag` instance.
112112 parent : & ' parent SubdiagnosticDeriveBuilder ,
113113
@@ -137,7 +137,7 @@ struct SubdiagnosticDeriveVariantBuilder<'parent, 'a> {
137137 is_enum : bool ,
138138}
139139
140- impl < ' parent , ' a > HasFieldMap for SubdiagnosticDeriveVariantBuilder < ' parent , ' a > {
140+ impl < ' parent , ' a > HasFieldMap for SubdiagDeriveVariantBuilder < ' parent , ' a > {
141141 fn get_field_binding ( & self , field : & String ) -> Option < & TokenStream > {
142142 self . fields . get ( field)
143143 }
@@ -181,7 +181,7 @@ impl<'a> FromIterator<&'a SubdiagnosticKind> for KindsStatistics {
181181 }
182182}
183183
184- impl < ' parent , ' a > SubdiagnosticDeriveVariantBuilder < ' parent , ' a > {
184+ impl < ' parent , ' a > SubdiagDeriveVariantBuilder < ' parent , ' a > {
185185 fn identify_kind ( & mut self ) -> Result < Vec < ( SubdiagnosticKind , Path , bool ) > , DiagDeriveError > {
186186 let mut kind_slugs = vec ! [ ] ;
187187
0 commit comments