diff options
Diffstat (limited to 'src/transform.rs')
-rw-r--r-- | src/transform.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transform.rs b/src/transform.rs index 831fb14..39d3cab 100644 --- a/src/transform.rs +++ b/src/transform.rs @@ -64,7 +64,7 @@ impl TypeConverter<'_> { .. }) = type_ { - if let Type::Path(TypePath { qself: None, path }) = ty.as_ref() { + if let Type::Path(path) = ty.as_ref() { if path_is_assoc_type(path) { return Err((path.span(), TransformError::QualifiedSelfAssociatedType)); } |