fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
2.3 KiB72 linesraw
1warning: skipping const checks
2  --> $DIR/enum_discriminants.rs:23:13
3   |
4LL |     let x = Foo::B;
5   |             ^^^^^^
6
7warning: skipping const checks
8  --> $DIR/enum_discriminants.rs:25:9
9   |
10LL |         Foo::B => 0,
11   |         ^^^^^^
12
13warning: skipping const checks
14  --> $DIR/enum_discriminants.rs:88:28
15   |
16LL |     if let E1::V2 { .. } = (E1::V1 { f: true }) {
17   |                            ^^^^^^^^^^^^^^^^^^^^
18
19warning: skipping const checks
20  --> $DIR/enum_discriminants.rs:88:12
21   |
22LL |     if let E1::V2 { .. } = (E1::V1 { f: true }) {
23   |            ^^^^^^^^^^^^^
24
25warning: skipping const checks
26  --> $DIR/enum_discriminants.rs:108:5
27   |
28LL |     assert_eq!(OVERFLOW, 0);
29   |     ^^^^^^^^^^^^^^^^^^^^^^^^
30   |
31   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
32
33warning: skipping const checks
34  --> $DIR/enum_discriminants.rs:108:5
35   |
36LL |     assert_eq!(OVERFLOW, 0);
37   |     ^^^^^^^^^^^^^^^^^^^^^^^^
38   |
39   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
40
41warning: skipping const checks
42  --> $DIR/enum_discriminants.rs:108:5
43   |
44LL |     assert_eq!(OVERFLOW, 0);
45   |     ^^^^^^^^^^^^^^^^^^^^^^^^
46   |
47   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
48
49warning: skipping const checks
50  --> $DIR/enum_discriminants.rs:109:5
51   |
52LL |     assert_eq!(MORE_OVERFLOW, 0);
53   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54   |
55   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
56
57warning: skipping const checks
58  --> $DIR/enum_discriminants.rs:109:5
59   |
60LL |     assert_eq!(MORE_OVERFLOW, 0);
61   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62   |
63   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
64
65warning: skipping const checks
66  --> $DIR/enum_discriminants.rs:109:5
67   |
68LL |     assert_eq!(MORE_OVERFLOW, 0);
69   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
70   |
71   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
72