]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/array-literal-index-oob.rs
2 // ignore-pass (test emits codegen-time warnings and verifies that they are not errors)
4 #![warn(const_err, unconditional_panic)]
8 //~^ WARN operation will panic
9 //~| WARN reaching this expression at runtime will panic or abort
10 //~| WARN erroneous constant used [const_err]