aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-23 06:37:15 +0100
committerMartin Fischer <martin@push-f.com>2021-11-23 06:37:33 +0100
commitb4acbbf52be85595cf8dcb839217fc4e2958328e (patch)
tree72d0e0497f1a70274e501d7c7f80fc34ce42beef /src
parent0196882c9e70205723e7d466b938dd3fd5735793 (diff)
mention Fn support in error message
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 05fdb81..dbac013 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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 => {