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[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters
--> /Users/hirohumi/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitvec-1.0.1/src/slice.rs:1783:19
|
1755 | impl<T, O> BitSlice<T, O>
| - first use of `T`
...
1783 | pub fn to_bitvec<T>(&self) -> BitVec<T::Unalias, O> {
| ^ already used
error[E0282]: type annotations needed
--> /Users/hirohumi/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitvec-1.0.1/src/slice/api.rs:2369:8
|
2369 | self.to_bitvec()
| ^^^^^^^^^ cannot infer type of the type parameter `T` declared on the method `to_bitvec`
|
help: consider specifying the generic argument
|
2369 | self.to_bitvec::<T>()
| +++++
cargo check failed with the following messages:
first occurred when running the following command
RUSTFLAGS='-C link-arg=-Wl,-soname,libmylib.so' cargo build --target aarch64-linux-android
was used to be okay, not sure what is causing the problem
The text was updated successfully, but these errors were encountered: