blob: f3616035fc7d4010000995ba0e403e6494b962f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error[E0326]: implemented const `BAR` has an incompatible type for trait
--> $DIR/associated-const-impl-wrong-type.rs:8:16
|
LL | const BAR: i32 = -1;
| ^^^ expected `u32`, found `i32`
|
note: type in trait
--> $DIR/associated-const-impl-wrong-type.rs:2:16
|
LL | const BAR: u32;
| ^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0326`.
|