]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/enum-discr-type-err.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / consts / enum-discr-type-err.stderr
1 error[E0308]: mismatched types
2 --> $DIR/enum-discr-type-err.rs:18:21
3 |
4 LL | $( $v = $s::V, )*
5 | ^^^^^ expected `isize`, found `i32`
6 ...
7 LL | / mac! {
8 LL | | A = F,
9 LL | | B = T,
10 LL | | }
11 | |_- in this macro invocation
12 |
13 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
14
15 error[E0308]: mismatched types
16 --> $DIR/enum-discr-type-err.rs:18:21
17 |
18 LL | $( $v = $s::V, )*
19 | ^^^^^ expected `isize`, found `i32`
20 ...
21 LL | / mac! {
22 LL | | A = F,
23 LL | | B = T,
24 LL | | }
25 | |_- in this macro invocation
26 |
27 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
28
29 error: aborting due to 2 previous errors
30
31 For more information about this error, try `rustc --explain E0308`.