Sign in
fuchsia
/
third_party
/
rust
/
f02ffb8b4ca760117875f3b5326e9cff6598dde3
/
.
/
src
/
test
/
ui
/
rfc-2091-track-caller
/
only-for-fns.rs
blob: 01ebf13b521b26e2b435a026f9e82c7f3cce9302 [
file
] [
log
] [
blame
]
#![
feature
(
track_caller
)]
//~ WARN the feature `track_caller` is incomplete
#[
track_caller
]
struct
S
;
//~^^ ERROR attribute should be applied to function
fn
main
()
{}