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