about summary refs log tree commit diff
path: root/tests/rustdoc/deprecated.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-03-21 09:24:57 +0100
committerRalf Jung <post@ralfj.de>2023-03-21 09:24:57 +0100
commit4bfde41afa31aa957a80f39e782062834a0dc583 (patch)
treee560ed4646bc001322d9bfa3f1ad38f16e39fa2e /tests/rustdoc/deprecated.rs
parent2be2568a54540a8ddf2c9c77a20ec73b018b45cc (diff)
parent204807d8a93041f9ef69cc2a69646fe1020f4c9c (diff)
downloadrust-4bfde41afa31aa957a80f39e782062834a0dc583.tar.gz
rust-4bfde41afa31aa957a80f39e782062834a0dc583.zip
Merge from rustc
Diffstat (limited to 'tests/rustdoc/deprecated.rs')
-rw-r--r--tests/rustdoc/deprecated.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/deprecated.rs b/tests/rustdoc/deprecated.rs
index 51860441b35..9c9c0945b8f 100644
--- a/tests/rustdoc/deprecated.rs
+++ b/tests/rustdoc/deprecated.rs
@@ -28,6 +28,6 @@ pub struct V;
 pub struct W;
 
 // @matches deprecated/struct.X.html '//*[@class="stab deprecated"]' \
-//      'Deprecated: shorthand reason$'
-#[deprecated = "shorthand reason"]
+//      'Deprecated: shorthand reason: code$'
+#[deprecated = "shorthand reason: `code`"]
 pub struct X;