diff options
| author | Andy Russell <arussell123@gmail.com> | 2019-02-04 12:41:01 -0500 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2019-02-05 15:26:26 -0500 |
| commit | 113b7f7be15c49fcd0854ca53486e92f1badfdd6 (patch) | |
| tree | 9fb9a4ab29733d76e05366aae0850c3e6cea5e8b /src/test/rustdoc | |
| parent | d30b99f9c23f8e1d6ef993cc94da96510ad709b3 (diff) | |
| download | rust-113b7f7be15c49fcd0854ca53486e92f1badfdd6.tar.gz rust-113b7f7be15c49fcd0854ca53486e92f1badfdd6.zip | |
allow shorthand syntax for deprecation reason
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/deprecated.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/rustdoc/deprecated.rs b/src/test/rustdoc/deprecated.rs index ca3f380ed28..ecb74719d74 100644 --- a/src/test/rustdoc/deprecated.rs +++ b/src/test/rustdoc/deprecated.rs @@ -26,3 +26,8 @@ pub struct V; // 'Deprecated$' #[deprecated] pub struct W; + +// @matches deprecated/struct.X.html '//*[@class="stab deprecated"]' \ +// 'Deprecated: shorthand reason$' +#[deprecated = "shorthand reason"] +pub struct X; |
