6 const V: () = assert!(std::mem::size_of::<T>() == 0);
7 //~^ ERROR: evaluation of `assert_zst::F::<u32>::V` failed [E0080]
8 //~| NOTE: in this expansion of assert!
9 //~| NOTE: the evaluated program panicked
10 //~| ERROR: evaluation of `assert_zst::F::<i32>::V` failed [E0080]
11 //~| NOTE: in this expansion of assert!
12 //~| NOTE: the evaluated program panicked
19 //~^ NOTE: the above error was encountered while instantiating `fn assert_zst::<u32>`
20 //~| NOTE: the above error was encountered while instantiating `fn assert_zst::<i32>`