rust/src/test/ui/issues/issue-41549.stderr
2018-12-25 21:08:33 -07:00

12 lines
402 B
Text

error[E0326]: implemented const `CONST` has an incompatible type for trait
--> $DIR/issue-41549.rs:9:18
|
LL | const CONST: () = (); //~ ERROR incompatible type for trait
| ^^ expected u32, found ()
|
= note: expected type `u32`
found type `()`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0326`.