Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
rfc-2091-track-caller
/
error-with-naked.rs
blob: dd9e5d04135851cd4f1fe97c6ed828cae38b11b8 [
file
] [
log
] [
blame
]
#![
feature
(
naked_functions
,
track_caller
)]
#[
track_caller
]
#[
naked
]
fn
f
()
{}
//~^^^ ERROR cannot use `#[track_caller]` with `#[naked]`
fn
main
()
{}