Closed Wollac closed 1 week ago
error: `?Sized` bound is ignored because of a `Sized` requirement
--> crates/rlp/src/decode.rs:129:9
|
129 | [T: ?Sized + Decodable] <alloc::boxed::Box<T>>::new(T),
| ^^^^^^
|
note: `T` cannot be unsized because of the bound
--> crates/rlp/src/decode.rs:129:18
|
129 | [T: ?Sized + Decodable] <alloc::boxed::Box<T>>::new(T),
| ^^^^^^^^^
= note: ...because `Decodable` has the bound `Sized`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_maybe_sized
= note: `-D clippy::needless-maybe-sized` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_maybe_sized)]`
Fix clippy warnings with latest nightly.