fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
636 B19 linesraw
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[E0369]: binary operation `==` cannot be applied to type `[{integer}; _]`
10  --> $DIR/too_generic_eval_ice.rs:7:30
11   |
12LL |         [5; Self::HOST_SIZE] == [6; 0]
13   |         -------------------- ^^ ------ [{integer}; 0]
14   |         |
15   |         [{integer}; _]
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0369`.