Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
deprecation
/
deprecation-in-staged-api.rs
blob: bcc17c789f55144b375d53b11c57f8ad4f091a01 [
file
] [
log
] [
blame
]
// #[deprecated] can't 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