blob: 19d9ff71667842aa1b3cfc8651705a05e0f9e4a3 [file] [log] [blame]
error[E0326]: implemented const `VALUE` has an incompatible type for trait
--> $DIR/issue-70942-trait-vs-impl-mismatch.rs:8:18
|
LL | const VALUE: usize;
| ----- type in trait
...
LL | const VALUE: i32 = 0;
| ^^^ expected `usize`, found `i32`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0326`.