rust/src/test/ui/issues/issue-41549.stderr

13 lines
402 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0326]: implemented const `CONST` has an incompatible type for trait
2018-12-25 09:56:47 -06:00
--> $DIR/issue-41549.rs:9:18
2018-08-08 07:28:26 -05:00
|
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`.