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
error[E0308]: mismatched types
--> src/uint.rs:53:16
|
53 | d: self.data(),
| ^^^^^^^^^^^ expected struct NonNull, found *-ptr
...
418 | u_types!(U256, 4, U512, 8);
| --------------------------- in this macro invocation
|
= note: expected struct NonNull<u64>
found raw pointer *mut u64
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0308]: mismatched types
--> src/uint.rs:536:8
|
536 | d: mut_ptr(&data),
| ^^^^^^^^^^^^^^ expected struct NonNull, found *-ptr
|
= note: expected struct NonNull<u64>
found raw pointer *mut &mut u64
Did anyone else got this? Is there a quick solution?
The text was updated successfully, but these errors were encountered:
Cargo bench gives me the following error:
error[E0308]: mismatched types
--> src/uint.rs:53:16
|
53 | d: self.data(),
| ^^^^^^^^^^^ expected struct
NonNull
, found *-ptr...
418 | u_types!(U256, 4, U512, 8);
| --------------------------- in this macro invocation
|
= note: expected struct
NonNull<u64>
found raw pointer
*mut u64
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0308]: mismatched types
--> src/uint.rs:536:8
|
536 | d: mut_ptr(&data),
| ^^^^^^^^^^^^^^ expected struct
NonNull
, found *-ptr|
= note: expected struct
NonNull<u64>
found raw pointer
*mut &mut u64
Did anyone else got this? Is there a quick solution?
The text was updated successfully, but these errors were encountered: