fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
586 B15 linesraw
1error[E0747]: type provided when a constant was expected
2  --> $DIR/suggest_const_for_array.rs:6:13
3   |
4LL |   example::<[usize; 3]>();
5   |             ^^^^^^^^^^ help: array type provided where a `usize` was expected, try: `{ 3 }`
6
7error[E0747]: type provided when a constant was expected
8  --> $DIR/suggest_const_for_array.rs:8:13
9   |
10LL |   example::<[usize; 4+5]>();
11   |             ^^^^^^^^^^^^ help: array type provided where a `usize` was expected, try: `{ 4+5 }`
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0747`.