the trait `objrs::objrs_runtime::__objrs::Class` is not implemented for `nsobject::NSObject`
Using a fork of v0.0.2 with fixed ManuallyDrop
There's just alot of... this:
error[E0277]: the trait bound `nsobject::NSObject: objrs::objrs_runtime::__objrs::Class` is not satisfied
--> /Users/wlm/.cargo/git/checkouts/objrs-crabapple-87bbcdc207a09a73/c960f61/frameworks/foundation/src/nsarray.rs:12:1
|
12 | #[objrs(class, super = nsobject::NSObject)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `objrs::objrs_runtime::__objrs::Class` is not implemented for `nsobject::NSObject`
|
::: /Users/wlm/.cargo/git/checkouts/objrs-crabapple-87bbcdc207a09a73/c960f61/runtime/src/lib.rs:63:17
|
63 | type Super: Class + ?Sized;
| ----- required by this bound in `objrs::objrs_runtime::__objrs::NonRootClass`
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `nsobject::NSObject: objrs::marker::Class` is not satisfied
--> /Users/wlm/.cargo/git/checkouts/objrs-crabapple-87bbcdc207a09a73/c960f61/frameworks/foundation/src/nsarray.rs:12:1
|
12 | #[objrs(class, super = nsobject::NSObject)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `objrs::marker::Class` is not implemented for `nsobject::NSObject`
|
::: /Users/wlm/.cargo/git/checkouts/objrs-crabapple-87bbcdc207a09a73/c960f61/src/marker.rs:15:15
|
15 | type Super: Class + ?Sized;
| ----- required by this bound in `objrs::marker::NonRootClass`
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
Edited by aspen