1 error[E0080]: evaluation of `assert_zst::F::<u32>::V` failed
2 --> $DIR/post_monomorphization_error_backtrace.rs:6:23
4 LL | const V: () = assert!(std::mem::size_of::<T>() == 0);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: std::mem::size_of::<T>() == 0', $DIR/post_monomorphization_error_backtrace.rs:6:23
7 = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
9 note: the above error was encountered while instantiating `fn assert_zst::<u32>`
10 --> $DIR/post_monomorphization_error_backtrace.rs:18:5
12 LL | assert_zst::<U>()
15 error[E0080]: evaluation of `assert_zst::F::<i32>::V` failed
16 --> $DIR/post_monomorphization_error_backtrace.rs:6:23
18 LL | const V: () = assert!(std::mem::size_of::<T>() == 0);
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: std::mem::size_of::<T>() == 0', $DIR/post_monomorphization_error_backtrace.rs:6:23
21 = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
23 note: the above error was encountered while instantiating `fn assert_zst::<i32>`
24 --> $DIR/post_monomorphization_error_backtrace.rs:18:5
26 LL | assert_zst::<U>()
29 error: aborting due to 2 previous errors
31 For more information about this error, try `rustc --explain E0080`.