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
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: std::mem::size_of::<T>() == 0', $DIR/post_monomorphization_error_backtrace.rs:6:23
5
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: std::mem::size_of::<T>() == 0', $DIR/post_monomorphization_error_backtrace.rs:7:23
6
6
|
7
7
= note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
8
8
9
9
note: the above error was encountered while instantiating `fn assert_zst::<u32>`
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: std::mem::size_of::<T>() == 0', $DIR/post_monomorphization_error_backtrace.rs:6:23
19
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: std::mem::size_of::<T>() == 0', $DIR/post_monomorphization_error_backtrace.rs:7:23
20
20
|
21
21
= note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
22
22
23
23
note: the above error was encountered while instantiating `fn assert_zst::<i32>`
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: std::mem::size_of::<T>() == 0', $DIR/const-expr-generic-err.rs:5:13
5
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: std::mem::size_of::<T>() == 0', $DIR/const-expr-generic-err.rs:6:13
6
6
|
7
7
= note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
8
8
9
9
note: the above error was encountered while instantiating `fn foo::<i32>`
10
-
--> $DIR/const-expr-generic-err.rs:13:5
10
+
--> $DIR/const-expr-generic-err.rs:14:5
11
11
|
12
12
LL | foo::<i32>();
13
13
| ^^^^^^^^^^^^
14
14
15
15
error[E0080]: evaluation of `bar::<0>::{constant#0}` failed
16
-
--> $DIR/const-expr-generic-err.rs:9:13
16
+
--> $DIR/const-expr-generic-err.rs:10:13
17
17
|
18
18
LL | const { N - 1 }
19
19
| ^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
20
20
21
21
note: the above error was encountered while instantiating `fn bar::<0>`
0 commit comments