Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
deprecation
/
deprecation-in-future.rs
blob: 464ddcc4cdb94b1945d76814eafa01549cef9dc9 [
file
] [
log
] [
blame
]
// check-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
()
{}