Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
deprecation
/
deprecation-in-staged-api.rs
blob: f667de83b56d4dae87b780c6326089ce604a7b37 [
file
] [
log
] [
blame
]
// #[deprecated] cannot be used in staged API
#![
feature
(
staged_api
)]
#![
stable
(
feature
=
"stable_test_feature"
,
since
=
"1.0.0"
)]
#[
deprecated
]
fn
main
()
{
}
//~ ERROR `#[deprecated]` cannot be used in staged API