1 #![feature(deprecated)]
3 // @has deprecated/index.html '//*[@class="docblock-short"]/span[@class="stab deprecated"]' \
5 // @has - '//*[@class="docblock-short"]' 'Deprecated docs'
7 // @has deprecated/struct.S.html '//*[@class="stab deprecated"]' \
8 // 'Deprecated since 1.0.0: text'
10 #[deprecated(since = "1.0.0", note = "text")]
13 // @matches deprecated/index.html '//*[@class="docblock-short"]' '^Docs'
17 // @matches deprecated/struct.U.html '//*[@class="stab deprecated"]' \
18 // 'Deprecated since 1.0.0$'
19 #[deprecated(since = "1.0.0")]
22 // @matches deprecated/struct.V.html '//*[@class="stab deprecated"]' \
23 // 'Deprecated: text$'
24 #[deprecated(note = "text")]
27 // @matches deprecated/struct.W.html '//*[@class="stab deprecated"]' \
32 // @matches deprecated/struct.X.html '//*[@class="stab deprecated"]' \
33 // 'Deprecated: shorthand reason$'
34 #[deprecated = "shorthand reason"]