4 #![warn(clippy::empty_loop)]
5 #![feature(lang_items, link_args, start, libc)]
6 #![link_args = "-nostartfiles"]
9 use core::panic::PanicInfo;
12 fn main(argc: isize, argv: *const *const u8) -> isize {
13 // This should trigger the lint
18 fn panic(_info: &PanicInfo) -> ! {
19 // This should NOT trigger the lint
23 #[lang = "eh_personality"]
24 extern "C" fn eh_personality() {
25 // This should also trigger the lint