fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: constant expression depends on a generic parameter 2 --> $DIR/too_generic_eval_ice.rs:7:13 3 | 4LL | [5; Self::HOST_SIZE] == [6; 0] 5 | ^^^^^^^^^^^^^^^ 6 | 7 = note: this may fail depending on what value the parameter takes 8 9error: constant expression depends on a generic parameter 10 --> $DIR/too_generic_eval_ice.rs:7:30 11 | 12LL | [5; Self::HOST_SIZE] == [6; 0] 13 | ^^ 14 | 15 = note: this may fail depending on what value the parameter takes 16 17error[E0277]: can't compare `[{integer}; Self::HOST_SIZE]` with `[{integer}; 0]` 18 --> $DIR/too_generic_eval_ice.rs:7:30 19 | 20LL | [5; Self::HOST_SIZE] == [6; 0] 21 | ^^ no implementation for `[{integer}; Self::HOST_SIZE] == [{integer}; 0]` 22 | 23 = help: the trait `PartialEq<[{integer}; 0]>` is not implemented for `[{integer}; Self::HOST_SIZE]` 24 = help: the following other types implement trait `PartialEq<Rhs>`: 25 <[A; N] as PartialEq<[B; N]>> 26 <[A; N] as PartialEq<[B]>> 27 <[A; N] as PartialEq<&[B]>> 28 <[A; N] as PartialEq<&mut [B]>> 29 <[T] as PartialEq<Vec<U, A>>> 30 <[A] as PartialEq<[B]>> 31 <[B] as PartialEq<[A; N]>> 32 <&[T] as PartialEq<Vec<U, A>>> 33 and 3 others 34 35error: aborting due to 3 previous errors 36 37For more information about this error, try `rustc --explain E0277`.