about summary refs log tree commit diff
path: root/tests/rustdoc/check-source-code-urls-to-def.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-03-21 16:44:06 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-03-30 22:56:52 +0200
commit3ef8d2d6075bcac4975b271684ebc6e67c20c83e (patch)
tree300fa357a66d99e438c527d978432f84e6193db1 /tests/rustdoc/check-source-code-urls-to-def.rs
parentf40aa598e97465feb753abbb18268a368ef0118e (diff)
downloadrust-3ef8d2d6075bcac4975b271684ebc6e67c20c83e.tar.gz
rust-3ef8d2d6075bcac4975b271684ebc6e67c20c83e.zip
Update tests for rustc_doc_primitive
Diffstat (limited to 'tests/rustdoc/check-source-code-urls-to-def.rs')
-rw-r--r--tests/rustdoc/check-source-code-urls-to-def.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/check-source-code-urls-to-def.rs b/tests/rustdoc/check-source-code-urls-to-def.rs
index 5959f9c7c59..41b9d41fa44 100644
--- a/tests/rustdoc/check-source-code-urls-to-def.rs
+++ b/tests/rustdoc/check-source-code-urls-to-def.rs
@@ -2,7 +2,7 @@
 // aux-build:source_code.rs
 // build-aux-docs
 
-#![feature(rustdoc_internals)]
+#![feature(rustc_attrs)]
 
 #![crate_name = "foo"]
 
@@ -65,5 +65,5 @@ pub fn foo4() {
 }
 
 // @has - '//pre[@class="rust"]//a[@href="../../foo/primitive.bool.html"]' 'bool'
-#[doc(primitive = "bool")]
+#[rustc_doc_primitive = "bool"]
 mod whatever {}