]> git.proxmox.com Git - rustc.git/blob - src/test/ui/generics/post_monomorphization_error_backtrace.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / generics / post_monomorphization_error_backtrace.stderr
1 error[E0080]: evaluation of `assert_zst::F::<u32>::V` failed
2 --> $DIR/post_monomorphization_error_backtrace.rs:6:23
3 |
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
6 |
7 = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 note: the above error was encountered while instantiating `fn assert_zst::<u32>`
10 --> $DIR/post_monomorphization_error_backtrace.rs:18:5
11 |
12 LL | assert_zst::<U>()
13 | ^^^^^^^^^^^^^^^^^
14
15 error[E0080]: evaluation of `assert_zst::F::<i32>::V` failed
16 --> $DIR/post_monomorphization_error_backtrace.rs:6:23
17 |
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
20 |
21 = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
22
23 note: the above error was encountered while instantiating `fn assert_zst::<i32>`
24 --> $DIR/post_monomorphization_error_backtrace.rs:18:5
25 |
26 LL | assert_zst::<U>()
27 | ^^^^^^^^^^^^^^^^^
28
29 error: aborting due to 2 previous errors
30
31 For more information about this error, try `rustc --explain E0080`.