diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-25 13:44:20 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-11-25 13:44:20 +0100 |
commit | 74a29b912aaa14dbeb7e5c51ae11c61e733ef645 (patch) | |
tree | ccc34ea43f810abf0e8bb2c0ea05b3e9dc7ab8a1 /src/lib.rs | |
parent | ccb8e0cd6a94f71262e85e99fcd421578d2fb393 (diff) |
better error for qualified associated types
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -155,6 +155,9 @@ pub fn dynamize(_attr: TokenStream, input: TokenStream) -> TokenStream { n ) } + MethodError::Transform(TransformError::QualifiedAssociatedType) => { + return abort!(span, "dynamize does not support qualified associated types") + } MethodError::Transform(TransformError::QualifiedSelfAssociatedType) => { return abort!(span, "dynamize does not support associated types of a qualified Self") } |