ggrs main cargo check
Checking ggrs v0.10.1 (J:\dev\ggrs)
error[E0277]: the size for values of type `dyn StdError + Send + Sync` cannot be known at compilation time
--> src\network\compression.rs:37:41
|
37 | let buf = bitfield_rle::decode(data)?;
| ^ doesn't have a size known at compile-time
|
= help: the trait `Sized` is not implemented for `dyn StdError + Send + Sync`, which is required by `Result<Vec<Vec<u8>>, Box<dyn StdError>>: FromResidual<Result<Infallible, Box<dyn StdError + Send + Sync>>>`
= help: the following other types implement trait `FromResidual<R>`:
<Result<T, F> as FromResidual<Yeet<E>>>
<Result<T, F> as FromResidual<Result<Infallible, E>>>
= note: required for `Box<dyn StdError + Send + Sync>` to implement `StdError`
= note: required for `Box<dyn StdError>` to implement `From<Box<dyn StdError + Send + Sync>>`
= note: required for `Result<Vec<Vec<u8>>, Box<dyn StdError>>` to implement `FromResidual<Result<Infallible, Box<dyn StdError + Send + Sync>>>`
For more information about this error, try `rustc --explain E0277`.
Expected behavior
No errors
Desktop (please complete the following information):
To Reproduce
Expected behavior No errors
Desktop (please complete the following information):