]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/miri_unleashed/enum_discriminants.stderr
Auto merge of #66384 - cjgillot:typefoldable, r=Zoxc
[rust.git] / src / test / ui / consts / miri_unleashed / enum_discriminants.stderr
1 warning: skipping const checks
2   --> $DIR/enum_discriminants.rs:24:5
3    |
4 LL | /     match x {
5 LL | |         Foo::B => 0,
6 LL | |         _ => panic!(),
7 LL | |     }
8    | |_____^
9
10 warning: skipping const checks
11   --> $DIR/enum_discriminants.rs:88:5
12    |
13 LL | /     if let E1::V2 { .. } = (E1::V1 { f: true }) {
14 LL | |
15 LL | |         unreachable!()
16 LL | |     }
17    | |_____^
18
19 warning: skipping const checks
20   --> $DIR/enum_discriminants.rs:92:5
21    |
22 LL | /     if let E1::V1 { .. } = (E1::V1 { f: true }) {
23 LL | |
24 LL | |     } else {
25 LL | |         unreachable!()
26 LL | |     }
27    | |_____^
28
29 warning: skipping const checks
30   --> $DIR/enum_discriminants.rs:98:5
31    |
32 LL | /     if let E2::V1 { .. } = E2::V3::<Infallible> {
33 LL | |
34 LL | |         unreachable!()
35 LL | |     }
36    | |_____^
37
38 warning: skipping const checks
39   --> $DIR/enum_discriminants.rs:102:5
40    |
41 LL | /     if let E2::V3 { .. } = E2::V3::<Infallible> {
42 LL | |
43 LL | |     } else {
44 LL | |         unreachable!()
45 LL | |     }
46    | |_____^
47