In a test upstream in marlin, there seem to be errors, probably related to Rust 1.48.
Any idea?
error[E0277]: the size for values of type `[u64]` cannot be known at compilation time
--> bls12_381/src/fields/fq6.rs:15:9
|
15 | / field_new!(Fq, BigInteger384([
16 | | 0x760900000002fffd,
17 | | 0xebf4000bc40c0002,
18 | | 0x5f48985753c758ba,
... |
21 | | 0x15f65ec3fa80e493,
22 | | ])),
| |___________^ doesn't have a size known at compile-time
|
= help: the trait `Sized` is not implemented for `[u64]`
= note: all local variables must have a statically known size
= help: unsized locals are gated as an unstable feature
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the size for values of type `[u64]` cannot be known at compilation time
--> bn254/src/curves/g2.rs:52:30
|
52 | const COFACTOR_INV: Fr = field_new!(Fr, BigInteger256([
| ______________________________^
53 | | 0x7fff17d53ff2895e,
54 | | 0xd0617390cf7919e5,
55 | | 0xb9af426b22d0eb61,
56 | | 0x270485e31bd72a4d,
57 | | ]));
| |_______^ doesn't have a size known at compile-time
|
= help: the trait `Sized` is not implemented for `[u64]`
= note: all local variables must have a statically known size
= help: unsized locals are gated as an unstable feature
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the size for values of type `[u64]` cannot be known at compilation time
--> bls12_381/src/fields/fq6.rs:23:9
|
23 | / field_new!(Fq, BigInteger384([
24 | | 0x760900000002fffd,
25 | | 0xebf4000bc40c0002,
26 | | 0x5f48985753c758ba,
... |
29 | | 0x15f65ec3fa80e493,
30 | | ])),
| |___________^ doesn't have a size known at compile-time
|
= help: the trait `Sized` is not implemented for `[u64]`
= note: all local variables must have a statically known size
= help: unsized locals are gated as an unstable feature
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
In a test upstream in
marlin
, there seem to be errors, probably related to Rust 1.48.Any idea?