You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose we have a protocol P with method f(&self) -> Id<NSObject, Shared>. If we use declare_class! to implement this protocol for a new type...
declare_class!(structC{// This is unrelated to this ticket but I can't figure out how to do empty structs in `declare_class`
filler:u8}unsafeimplConformsTo<P> forC{
#[method(f)]fn f(&self) -> Id<NSObject,Shared> {
unimplemented!()}})
We see
the trait Encodeis not implemented foricrate::objc2::rc::Id<NSObject, Shared>`
Suppose we have a protocol
P
with methodf(&self) -> Id<NSObject, Shared>
. If we usedeclare_class!
to implement this protocol for a new type...We see
the trait
Encodeis not implemented for
icrate::objc2::rc::Id<NSObject, Shared>`in the macro expansion because it generates
And
Id<_, _>
doesn't implementEncodeConvert
The text was updated successfully, but these errors were encountered: