Skip to content

Commit c875241

Browse files
committed
Add rustdoc index page test for future deprecation attributes
1 parent 01df8fe commit c875241

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/rustdoc/deprecated-future.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#![feature(deprecated)]
22

3+
// @has deprecated_future/index.html '//*[@class="stab deprecated"]' \
4+
// 'Deprecated'
35
// @has deprecated_future/struct.S.html '//*[@class="stab deprecated"]' \
46
// 'Deprecated since 99.99.99: effectively never'
57
#[deprecated(since = "99.99.99", note = "effectively never")]

0 commit comments

Comments
 (0)