You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/tools/miri/tests/fail/erroneous_const.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ error[E0080]: evaluation of `PrintName::<i32>::VOID` failed
2
2
--> tests/fail/erroneous_const.rs:LL:CC
3
3
|
4
4
LL | const VOID: ! = panic!();
5
-
| ^^^^^^^^ explicit panic
5
+
| ^^^^^^^^ evaluation panicked: explicit panic
6
6
|
7
7
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ panic: aborted execution: attempted to leave type `&i32` uninitialized, which is invalid
11
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: aborted execution: attempted to leave type `&i32` uninitialized, which is invalid
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `std::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `std::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::unreachable_2015` which comes from the expansion of the macro `std::unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
24
24
25
25
error[E0080]: evaluation of constant value failed
26
26
--> $DIR/const_panic.rs:15:15
27
27
|
28
28
LL | const X: () = std::unimplemented!();
29
-
| ^^^^^^^^^^^^^^^^^^^^^ not implemented
29
+
| ^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: not implemented
30
30
|
31
31
= note: this error originates in the macro `std::unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
32
32
33
33
error[E0080]: evaluation of constant value failed
34
34
--> $DIR/const_panic.rs:18:15
35
35
|
36
36
LL | const W: () = std::panic!(MSG);
37
-
| ^^^^^^^^^^^^^^^^ panic: hello
37
+
| ^^^^^^^^^^^^^^^^ evaluation panicked: hello
38
38
|
39
39
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `std::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `std::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `core::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `core::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::unreachable_2015` which comes from the expansion of the macro `core::unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
72
72
73
73
error[E0080]: evaluation of constant value failed
74
74
--> $DIR/const_panic.rs:33:20
75
75
|
76
76
LL | const X_CORE: () = core::unimplemented!();
77
-
| ^^^^^^^^^^^^^^^^^^^^^^ not implemented
77
+
| ^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: not implemented
78
78
|
79
79
= note: this error originates in the macro `core::unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
80
80
81
81
error[E0080]: evaluation of constant value failed
82
82
--> $DIR/const_panic.rs:36:20
83
83
|
84
84
LL | const W_CORE: () = core::panic!(MSG);
85
-
| ^^^^^^^^^^^^^^^^^ panic: hello
85
+
| ^^^^^^^^^^^^^^^^^ evaluation panicked: hello
86
86
|
87
87
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `core::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `core::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `std::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `std::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::unreachable_2021` which comes from the expansion of the macro `std::unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
24
24
25
25
error[E0080]: evaluation of constant value failed
26
26
--> $DIR/const_panic_2021.rs:15:15
27
27
|
28
28
LL | const D: () = std::unimplemented!();
29
-
| ^^^^^^^^^^^^^^^^^^^^^ not implemented
29
+
| ^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: not implemented
30
30
|
31
31
= note: this error originates in the macro `std::unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `std::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `core::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `core::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::unreachable_2021` which comes from the expansion of the macro `core::unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
64
64
65
65
error[E0080]: evaluation of constant value failed
66
66
--> $DIR/const_panic_2021.rs:30:20
67
67
|
68
68
LL | const D_CORE: () = core::unimplemented!();
69
-
| ^^^^^^^^^^^^^^^^^^^^^^ not implemented
69
+
| ^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: not implemented
70
70
|
71
71
= note: this error originates in the macro `core::unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `core::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardExpand all lines: tests/ui/consts/const-eval/const_panic_libcore_bin.stderr
+3-3
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,23 @@ error[E0080]: evaluation of constant value failed
2
2
--> $DIR/const_panic_libcore_bin.rs:8:15
3
3
|
4
4
LL | const Z: () = panic!("cheese");
5
-
| ^^^^^^^^^^^^^^^^ panic: cheese
5
+
| ^^^^^^^^^^^^^^^^ evaluation panicked: cheese
6
6
|
7
7
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::unreachable_2015` which comes from the expansion of the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
16
16
17
17
error[E0080]: evaluation of constant value failed
18
18
--> $DIR/const_panic_libcore_bin.rs:14:15
19
19
|
20
20
LL | const X: () = unimplemented!();
21
-
| ^^^^^^^^^^^^^^^^ not implemented
21
+
| ^^^^^^^^^^^^^^^^ evaluation panicked: not implemented
22
22
|
23
23
= note: this error originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardExpand all lines: tests/ui/consts/const-eval/panic-assoc-never-type.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ error[E0080]: evaluation of constant value failed
2
2
--> $DIR/panic-assoc-never-type.rs:9:21
3
3
|
4
4
LL | const VOID: ! = panic!();
5
-
| ^^^^^^^^ explicit panic
5
+
| ^^^^^^^^ evaluation panicked: explicit panic
6
6
|
7
7
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments