Sign in
android
/
toolchain
/
rustc
/
refs/heads/upstream-master
/
.
/
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
()
{}