Skip to content

Commit

Permalink
Add rustdoc index page test for future deprecation attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Feb 11, 2019
1 parent 01df8fe commit c875241
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/rustdoc/deprecated-future.rs
@@ -1,5 +1,7 @@
#![feature(deprecated)]

// @has deprecated_future/index.html '//*[@class="stab deprecated"]' \
// 'Deprecated'
// @has deprecated_future/struct.S.html '//*[@class="stab deprecated"]' \
// 'Deprecated since 99.99.99: effectively never'
#[deprecated(since = "99.99.99", note = "effectively never")]
Expand Down

0 comments on commit c875241

Please sign in to comment.