]> git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-const/associated-const-impl-wrong-type.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / associated-const / associated-const-impl-wrong-type.stderr
1 error[E0326]: implemented const `BAR` has an incompatible type for trait
2 --> $DIR/associated-const-impl-wrong-type.rs:8:16
3 |
4 LL | const BAR: u32;
5 | --- type in trait
6 ...
7 LL | const BAR: i32 = -1;
8 | ^^^ expected `u32`, found `i32`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0326`.