summary refs log tree commit diff
path: root/src/test/ui/issues/issue-41549.stderr
blob: e5362727d9411571ea1d148e5f26ccfbcc555307 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0326]: implemented const `CONST` has an incompatible type for trait
  --> $DIR/issue-41549.rs:19: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`.