diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -110,9 +110,11 @@ pub fn dynamize(_attr: TokenStream, input: TokenStream) -> TokenStream { MethodParseError::AssocTypeInUnsupportedReturnType | MethodParseError::UnconvertibleAssocTypeInFnInput, )) => return abort!(span, "dynamize does not know how to convert this type"), - Err((span, MethodParseError::UnconvertibleAssocTypeInTraitBound)) => { - return abort!(span, "dynamize does not support associated types here") - } + Err(( + span, + MethodParseError::UnconvertibleAssocTypeInTraitBound + | MethodParseError::UnconvertibleAssocTypeInWhereClause, + )) => return abort!(span, "dynamize does not support associated types here"), Err((span, MethodParseError::ImplTraitInInputs)) => { return abort!( span, |