]> git.lizzy.rs Git - rust.git/blob - tests/ui/panic-handler/panic-handler-missing.rs
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / ui / panic-handler / panic-handler-missing.rs
1 // dont-check-compiler-stderr
2 // error-pattern: `#[panic_handler]` function required, but not found
3
4 #![feature(lang_items)]
5 #![no_main]
6 #![no_std]
7
8 #[lang = "eh_personality"]
9 fn eh() {}