@@ -62,7 +62,7 @@ impl SubdiagnosticDeriveBuilder {
62
62
63
63
structure. bind_with ( |_| synstructure:: BindStyle :: Move ) ;
64
64
let variants_ = structure. each_variant ( |variant| {
65
- let mut builder = SubdiagnosticDeriveVariantBuilder {
65
+ let mut builder = SubdiagDeriveVariantBuilder {
66
66
parent : & self ,
67
67
variant,
68
68
span,
@@ -107,7 +107,7 @@ impl SubdiagnosticDeriveBuilder {
107
107
/// for the final generated method. This is a separate struct to `SubdiagnosticDerive`
108
108
/// only to be able to destructure and split `self.builder` and the `self.structure` up to avoid a
109
109
/// double mut borrow later on.
110
- struct SubdiagnosticDeriveVariantBuilder < ' parent , ' a > {
110
+ struct SubdiagDeriveVariantBuilder < ' parent , ' a > {
111
111
/// The identifier to use for the generated `Diag` instance.
112
112
parent : & ' parent SubdiagnosticDeriveBuilder ,
113
113
@@ -137,7 +137,7 @@ struct SubdiagnosticDeriveVariantBuilder<'parent, 'a> {
137
137
is_enum : bool ,
138
138
}
139
139
140
- impl < ' parent , ' a > HasFieldMap for SubdiagnosticDeriveVariantBuilder < ' parent , ' a > {
140
+ impl < ' parent , ' a > HasFieldMap for SubdiagDeriveVariantBuilder < ' parent , ' a > {
141
141
fn get_field_binding ( & self , field : & String ) -> Option < & TokenStream > {
142
142
self . fields . get ( field)
143
143
}
@@ -181,7 +181,7 @@ impl<'a> FromIterator<&'a SubdiagnosticKind> for KindsStatistics {
181
181
}
182
182
}
183
183
184
- impl < ' parent , ' a > SubdiagnosticDeriveVariantBuilder < ' parent , ' a > {
184
+ impl < ' parent , ' a > SubdiagDeriveVariantBuilder < ' parent , ' a > {
185
185
fn identify_kind ( & mut self ) -> Result < Vec < ( SubdiagnosticKind , Path , bool ) > , DiagDeriveError > {
186
186
let mut kind_slugs = vec ! [ ] ;
187
187
0 commit comments