Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
deprecation
/
deprecation-in-future.rs
blob: c4f9fdce74907f1e1a08d913f8030f5ce9fd68d7 [
file
] [
log
] [
blame
]
// run-pass
#![
deny
(
deprecated_in_future
)]
#[
deprecated
(
since
=
"99.99.99"
,
note
=
"text"
)]
pub
fn
deprecated_future
()
{}
fn
test
()
{
deprecated_future
();
// ok; deprecated_in_future only applies to rustc_deprecated
}
fn
main
()
{}