]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-41549.stderr
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-41549.stderr
1 error[E0326]: implemented const `CONST` has an incompatible type for trait
2   --> $DIR/issue-41549.rs:9:18
3    |
4 LL |     const CONST: () = ();
5    |                  ^^ expected u32, found ()
6    |
7    = note: expected type `u32`
8               found type `()`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0326`.