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`.