We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dc660f commit 01df8feCopy full SHA for 01df8fe
src/test/rustdoc/rustc_deprecated-future.rs
@@ -0,0 +1,11 @@
1
+#![feature(staged_api)]
2
+
3
+#![stable(feature = "rustc_deprecated-future-test", since = "1.0.0")]
4
5
+// @has rustc_deprecated_future/index.html '//*[@class="stab deprecated"]' \
6
+// 'Deprecation planned'
7
+// @has rustc_deprecated_future/struct.S.html '//*[@class="stab deprecated"]' \
8
+// 'Deprecating in 99.99.99: effectively never'
9
+#[rustc_deprecated(since = "99.99.99", reason = "effectively never")]
10
+#[stable(feature = "rustc_deprecated-future-test", since = "1.0.0")]
11
+pub struct S;
0 commit comments