diff options
-rw-r--r-- | src/lib.rs | 2 | ||||
-rw-r--r-- | ui-tests/src/bin/param_type_assoc_type.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -183,7 +183,7 @@ pub fn dynamize(_attr: TokenStream, input: TokenStream) -> TokenStream { MethodError::AssocTypeInInputs => { return abort!( span, - "dynamize does not support associated types in parameter types" + "dynamize does not support associated types in parameter types (except in Fn arguments)" ) } MethodError::ImplTraitInInputs => { diff --git a/ui-tests/src/bin/param_type_assoc_type.stderr b/ui-tests/src/bin/param_type_assoc_type.stderr index 08620fb..8295ff1 100644 --- a/ui-tests/src/bin/param_type_assoc_type.stderr +++ b/ui-tests/src/bin/param_type_assoc_type.stderr @@ -1,4 +1,4 @@ -error: dynamize does not support associated types in parameter types +error: dynamize does not support associated types in parameter types (except in Fn arguments) --> src/bin/param_type_assoc_type.rs:3:20 | 3 | fn f(&self, x: Self::A); |