]>
Commit | Line | Data |
---|---|---|
17df50a5 | 1 | error[E0080]: any use of this value will cause an error |
5869c6ff | 2 | --> $DIR/const_panic.rs:7:15 |
b7449926 | 3 | | |
29967ef6 XL |
4 | LL | const Z: () = std::panic!("cheese"); |
5 | | --------------^^^^^^^^^^^^^^^^^^^^^- | |
6 | | | | |
5869c6ff | 7 | | the evaluated program panicked at 'cheese', $DIR/const_panic.rs:7:15 |
b7449926 | 8 | | |
17df50a5 | 9 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) |
b7449926 | 10 | |
17df50a5 XL |
11 | error[E0080]: any use of this value will cause an error |
12 | --> $DIR/const_panic.rs:10:16 | |
b7449926 | 13 | | |
29967ef6 XL |
14 | LL | const Z2: () = std::panic!(); |
15 | | ---------------^^^^^^^^^^^^^- | |
16 | | | | |
17df50a5 | 17 | | the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:10:16 |
b7449926 | 18 | | |
17df50a5 | 19 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) |
b7449926 | 20 | |
17df50a5 XL |
21 | error[E0080]: any use of this value will cause an error |
22 | --> $DIR/const_panic.rs:13:15 | |
b7449926 | 23 | | |
29967ef6 XL |
24 | LL | const Y: () = std::unreachable!(); |
25 | | --------------^^^^^^^^^^^^^^^^^^^- | |
26 | | | | |
17df50a5 | 27 | | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:13:15 |
b7449926 | 28 | | |
17df50a5 | 29 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) |
b7449926 | 30 | |
17df50a5 XL |
31 | error[E0080]: any use of this value will cause an error |
32 | --> $DIR/const_panic.rs:16:15 | |
29967ef6 XL |
33 | | |
34 | LL | const X: () = std::unimplemented!(); | |
35 | | --------------^^^^^^^^^^^^^^^^^^^^^- | |
36 | | | | |
17df50a5 | 37 | | the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:16:15 |
29967ef6 | 38 | | |
17df50a5 | 39 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) |
29967ef6 | 40 | |
17df50a5 XL |
41 | error[E0080]: any use of this value will cause an error |
42 | --> $DIR/const_panic.rs:19:15 | |
29967ef6 XL |
43 | | |
44 | LL | const W: () = std::panic!(MSG); | |
45 | | --------------^^^^^^^^^^^^^^^^- | |
46 | | | | |
17df50a5 | 47 | | the evaluated program panicked at 'hello', $DIR/const_panic.rs:19:15 |
29967ef6 | 48 | | |
17df50a5 | 49 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) |
29967ef6 | 50 | |
17df50a5 XL |
51 | error[E0080]: any use of this value will cause an error |
52 | --> $DIR/const_panic.rs:22:20 | |
29967ef6 XL |
53 | | |
54 | LL | const Z_CORE: () = core::panic!("cheese"); | |
55 | | -------------------^^^^^^^^^^^^^^^^^^^^^^- | |
56 | | | | |
17df50a5 | 57 | | the evaluated program panicked at 'cheese', $DIR/const_panic.rs:22:20 |
29967ef6 | 58 | | |
17df50a5 | 59 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) |
29967ef6 | 60 | |
17df50a5 XL |
61 | error[E0080]: any use of this value will cause an error |
62 | --> $DIR/const_panic.rs:25:21 | |
29967ef6 XL |
63 | | |
64 | LL | const Z2_CORE: () = core::panic!(); | |
65 | | --------------------^^^^^^^^^^^^^^- | |
66 | | | | |
17df50a5 | 67 | | the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:25:21 |
29967ef6 | 68 | | |
17df50a5 | 69 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) |
29967ef6 | 70 | |
17df50a5 XL |
71 | error[E0080]: any use of this value will cause an error |
72 | --> $DIR/const_panic.rs:28:20 | |
29967ef6 XL |
73 | | |
74 | LL | const Y_CORE: () = core::unreachable!(); | |
75 | | -------------------^^^^^^^^^^^^^^^^^^^^- | |
76 | | | | |
17df50a5 | 77 | | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:28:20 |
29967ef6 | 78 | | |
17df50a5 | 79 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) |
29967ef6 | 80 | |
17df50a5 XL |
81 | error[E0080]: any use of this value will cause an error |
82 | --> $DIR/const_panic.rs:31:20 | |
29967ef6 XL |
83 | | |
84 | LL | const X_CORE: () = core::unimplemented!(); | |
85 | | -------------------^^^^^^^^^^^^^^^^^^^^^^- | |
86 | | | | |
17df50a5 | 87 | | the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:31:20 |
29967ef6 | 88 | | |
17df50a5 | 89 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) |
29967ef6 | 90 | |
17df50a5 XL |
91 | error[E0080]: any use of this value will cause an error |
92 | --> $DIR/const_panic.rs:34:20 | |
29967ef6 XL |
93 | | |
94 | LL | const W_CORE: () = core::panic!(MSG); | |
95 | | -------------------^^^^^^^^^^^^^^^^^- | |
96 | | | | |
17df50a5 | 97 | | the evaluated program panicked at 'hello', $DIR/const_panic.rs:34:20 |
29967ef6 | 98 | | |
17df50a5 | 99 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) |
29967ef6 XL |
100 | |
101 | error: aborting due to 10 previous errors | |
b7449926 | 102 | |
17df50a5 | 103 | For more information about this error, try `rustc --explain E0080`. |