]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/const-eval/panic-assoc-never-type.rs
3 // Regression test for #66975
5 #![feature(const_panic)]
6 #![feature(never_type)]
11 const VOID
: ! = panic
!();
12 //~^ WARN any use of this value will cause an error
13 //~| WARN this was previously accepted by the compiler but is being phased out
17 let _
= PrintName
::VOID
;
18 //~^ ERROR erroneous constant used