]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/too_generic_eval_ice.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / consts / too_generic_eval_ice.stderr
CommitLineData
ba9703b0 1error: constant expression depends on a generic parameter
e1599b0c
XL
2 --> $DIR/too_generic_eval_ice.rs:7:13
3 |
e1599b0c 4LL | [5; Self::HOST_SIZE] == [6; 0]
ba9703b0 5 | ^^^^^^^^^^^^^^^
e1599b0c 6 |
ba9703b0 7 = note: this may fail depending on what value the parameter takes
e1599b0c 8
ba9703b0
XL
9error[E0369]: binary operation `==` cannot be applied to type `[{integer}; _]`
10 --> $DIR/too_generic_eval_ice.rs:7:30
e1599b0c 11 |
e1599b0c 12LL | [5; Self::HOST_SIZE] == [6; 0]
ba9703b0
XL
13 | -------------------- ^^ ------ [{integer}; 0]
14 | |
15 | [{integer}; _]
e1599b0c 16
ba9703b0 17error: aborting due to 2 previous errors
e1599b0c 18
ba9703b0 19For more information about this error, try `rustc --explain E0369`.