fork/rust

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

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

master
470 B15 linesraw
1error[E0326]: implemented const `VALUE` has an incompatible type for trait
2  --> $DIR/issue-70942-trait-vs-impl-mismatch.rs:8:18
3   |
4LL |     const VALUE: i32 = 0;
5   |                  ^^^ expected `usize`, found `i32`
6   |
7note: type in trait
8  --> $DIR/issue-70942-trait-vs-impl-mismatch.rs:2:18
9   |
10LL |     const VALUE: usize;
11   |                  ^^^^^
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0326`.