-
Notifications
You must be signed in to change notification settings - Fork 7
Description
warning: build failed, waiting for other jobs to finish...
error[E0308]: mismatched types
--> C:\Users\han.cargo\registry\src\index.crates.io-6f17d22bba15001f\num-bigint-0.3.1\src\biguint.rs:1712:54
|
1712 | let root_scale = extra_bits.div_ceil(&n64);
| -------- ^^^^ expected u64, found &u64
| |
| arguments to this method are incorrect
|
note: method defined here
--> C:\Users\han.rustup\toolchains\1.78.0-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\num\mod.rs:1181:5
|
1181 | / uint_impl! {
1182 | | Self = u64,
1183 | | ActualT = u64,
1184 | | SignedT = i64,
... |
1198 | | bound_condition = "",
1199 | | }
| |_____^
= note: this error originates in the macro uint_impl (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the borrow
|
1712 - let root_scale = extra_bits.div_ceil(&n64);
1712 + let root_scale = extra_bits.div_ceil(n64);
|
error[E0308]: mismatched types
--> C:\Users\han.cargo\registry\src\index.crates.io-6f17d22bba15001f\num-bigint-0.3.1\src\biguint.rs:2128:19
|
2128 | .div_ceil(&u64::from(bits))
| -------- ^^^^^^^^^^^^^^^^ expected u64, found &u64
| |
| arguments to this method are incorrect
|
note: method defined here
--> C:\Users\han.rustup\toolchains\1.78.0-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\num\mod.rs:1181:5
|
1181 | / uint_impl! {
1182 | | Self = u64,
1183 | | ActualT = u64,
1184 | | SignedT = i64,
... |
1198 | | bound_condition = "",
1199 | | }
| |_____^
= note: this error originates in the macro uint_impl (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the borrow
|
2128 - .div_ceil(&u64::from(bits))
2128 + .div_ceil(u64::from(bits))
|
error[E0308]: mismatched types
--> C:\Users\han.cargo\registry\src\index.crates.io-6f17d22bba15001f\num-bigint-0.3.1\src\biguint.rs:2156:19
|
2156 | .div_ceil(&u64::from(bits))
| -------- ^^^^^^^^^^^^^^^^ expected u64, found &u64
| |
| arguments to this method are incorrect
|
note: method defined here
--> C:\Users\han.rustup\toolchains\1.78.0-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\num\mod.rs:1181:5
|
1181 | / uint_impl! {
1182 | | Self = u64,
1183 | | ActualT = u64,
1184 | | SignedT = i64,
... |
1198 | | bound_condition = "",
1199 | | }
| |_____^
= note: this error originates in the macro uint_impl (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider removing the borrow
|
2156 - .div_ceil(&u64::from(bits))
2156 + .div_ceil(u64::from(bits))
|
For more information about this error, try rustc --explain E0308.
error: could not compile num-bigint (lib) due to 4 previous errors