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
error[E0080]: evaluation of `Fail::<i32>::C` failed
2
+
--> $DIR/collect-roots-dead-fn.rs:12:19
3
+
|
4
+
LL | const C: () = panic!();
5
+
| ^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/collect-roots-dead-fn.rs:12:19
6
+
|
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)
8
+
9
+
note: erroneous constant encountered
10
+
--> $DIR/collect-roots-dead-fn.rs:25:5
11
+
|
12
+
LL | Fail::<T>::C;
13
+
| ^^^^^^^^^^^^
14
+
15
+
note: the above error was encountered while instantiating `fn h::<i32>`
16
+
--> $DIR/collect-roots-dead-fn.rs:21:5
17
+
|
18
+
LL | h::<i32>()
19
+
| ^^^^^^^^^^
20
+
21
+
error: aborting due to 1 previous error
22
+
23
+
For more information about this error, try `rustc --explain E0080`.
error[E0080]: evaluation of `Fail::<i32>::C` failed
2
+
--> $DIR/collect-roots-dead-fn.rs:12:19
3
+
|
4
+
LL | const C: () = panic!();
5
+
| ^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/collect-roots-dead-fn.rs:12:19
6
+
|
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)
8
+
9
+
note: erroneous constant encountered
10
+
--> $DIR/collect-roots-dead-fn.rs:25:5
11
+
|
12
+
LL | Fail::<T>::C;
13
+
| ^^^^^^^^^^^^
14
+
15
+
error: aborting due to 1 previous error
16
+
17
+
For more information about this error, try `rustc --explain E0080`.
error[E0080]: evaluation of `Zst::<u32>::ASSERT` failed
2
+
--> $DIR/collect-roots-inline-fn.rs:13:9
3
+
|
4
+
LL | panic!();
5
+
| ^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/collect-roots-inline-fn.rs:13:9
6
+
|
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)
8
+
9
+
note: erroneous constant encountered
10
+
--> $DIR/collect-roots-inline-fn.rs:18:5
11
+
|
12
+
LL | Zst::<T>::ASSERT;
13
+
| ^^^^^^^^^^^^^^^^
14
+
15
+
note: the above error was encountered while instantiating `fn f::<u32>`
16
+
--> $DIR/collect-roots-inline-fn.rs:22:5
17
+
|
18
+
LL | f::<u32>()
19
+
| ^^^^^^^^^^
20
+
21
+
error: aborting due to 1 previous error
22
+
23
+
For more information about this error, try `rustc --explain E0080`.
error[E0080]: evaluation of `Zst::<u32>::ASSERT` failed
2
+
--> $DIR/collect-roots-inline-fn.rs:13:9
3
+
|
4
+
LL | panic!();
5
+
| ^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/collect-roots-inline-fn.rs:13:9
6
+
|
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)
8
+
9
+
note: erroneous constant encountered
10
+
--> $DIR/collect-roots-inline-fn.rs:18:5
11
+
|
12
+
LL | Zst::<T>::ASSERT;
13
+
| ^^^^^^^^^^^^^^^^
14
+
15
+
error: aborting due to 1 previous error
16
+
17
+
For more information about this error, try `rustc --explain E0080`.
0 commit comments