@@ -128,7 +128,7 @@ impl ToTokens for NewTypeNoGenerics<'_> {
128
128
impl std:: convert:: TryFrom <#crat:: Value > for #ir_name {
129
129
type Error = #crat:: FromValueError ;
130
130
131
- fn try_from( v: #crat:: Value ) -> Result <Self , Self :: Error > {
131
+ fn try_from( v: #crat:: Value ) -> std :: result :: Result <Self , Self :: Error > {
132
132
#path( v) . map( Self )
133
133
}
134
134
}
@@ -162,7 +162,7 @@ impl ToTokens for NewTypeNoGenerics<'_> {
162
162
impl TryFrom <Value > for #ir_name<#field_type> {
163
163
type Error = <<#field_type as FromValue >:: Intermediate as TryFrom <Value >>:: Error ;
164
164
165
- fn try_from( value: Value ) -> Result <Self , Self :: Error > {
165
+ fn try_from( value: Value ) -> std :: result :: Result <Self , Self :: Error > {
166
166
<#field_type as FromValue >:: Intermediate :: try_from( value) . map( Self )
167
167
}
168
168
}
@@ -279,7 +279,7 @@ impl ToTokens for NewType<'_> {
279
279
where #additional_bounds {
280
280
type Error = #crat:: FromValueError ;
281
281
282
- fn try_from( v: #crat:: Value ) -> Result <Self , Self :: Error > {
282
+ fn try_from( v: #crat:: Value ) -> std :: result :: Result <Self , Self :: Error > {
283
283
#path( v)
284
284
}
285
285
}
@@ -305,7 +305,7 @@ impl ToTokens for NewType<'_> {
305
305
{
306
306
type Error = <<#field_type as #crat:: prelude:: FromValue >:: Intermediate as std:: convert:: TryFrom <#crat:: Value >>:: Error ;
307
307
308
- fn try_from( value: #crat:: Value ) -> Result <Self , Self :: Error > {
308
+ fn try_from( value: #crat:: Value ) -> std :: result :: Result <Self , Self :: Error > {
309
309
<#field_type as #crat:: prelude:: FromValue >:: Intermediate :: try_from( value) . map( Self )
310
310
}
311
311
}
0 commit comments