]> git.proxmox.com Git - rustc.git/blob - src/test/ui/rfc-2091-track-caller/error-with-naked.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / rfc-2091-track-caller / error-with-naked.rs
1 #![feature(naked_functions, track_caller)]
2
3 #[track_caller]
4 #[naked]
5 fn f() {}
6 //~^^^ ERROR cannot use `#[track_caller]` with `#[naked]`
7
8 fn main() {}