Description
I cann't compile some packge, please help , thank you.
Output of "cargo build"
error[E0210]: type parameter T
must be used as the type parameter for some local type (e.g., MyStruct<T>
)
--> C:\Users\KAIDO.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b\subtle-2.3.0\src\lib.rs:510:1
|
510 | impl From<CtOption> for Option {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter T
must be used as the type parameter for some local type
|
= note: only traits defined in the current crate can be implemented for a type parameter
error: aborting due to previous error
For more information about this error, try rustc --explain E0210
.
error: Could not compile subtle
.
warning: build failed, waiting for other jobs to finish...
error: cannot find macro llvm_asm!
in this scope
--> C:\Users\KAIDO.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b\clear_on_drop-0.2.4\src\hide.rs:38:17
|
38 | llvm_asm!("" : : "r" (ptr as *mut u8) : "memory");
| ^^^^^^^^
error: cannot find macro llvm_asm!
in this scope
--> C:\Users\KAIDO.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b\clear_on_drop-0.2.4\src\hide.rs:48:17
|
48 | llvm_asm!("" : "=*m" (ptr) : "*0" (ptr));
| ^^^^^^^^
error: aborting due to 2 previous errors
error: Could not compile clear_on_drop
.
warning: build failed, waiting for other jobs to finish...
error: build failed