diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-03-21 16:44:06 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-03-30 22:56:52 +0200 |
| commit | 3ef8d2d6075bcac4975b271684ebc6e67c20c83e (patch) | |
| tree | 300fa357a66d99e438c527d978432f84e6193db1 /tests/rustdoc/primitive-tuple-auto-trait.rs | |
| parent | f40aa598e97465feb753abbb18268a368ef0118e (diff) | |
| download | rust-3ef8d2d6075bcac4975b271684ebc6e67c20c83e.tar.gz rust-3ef8d2d6075bcac4975b271684ebc6e67c20c83e.zip | |
Update tests for rustc_doc_primitive
Diffstat (limited to 'tests/rustdoc/primitive-tuple-auto-trait.rs')
| -rw-r--r-- | tests/rustdoc/primitive-tuple-auto-trait.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/primitive-tuple-auto-trait.rs b/tests/rustdoc/primitive-tuple-auto-trait.rs index 4344d24f986..2b407b586a3 100644 --- a/tests/rustdoc/primitive-tuple-auto-trait.rs +++ b/tests/rustdoc/primitive-tuple-auto-trait.rs @@ -1,7 +1,7 @@ // compile-flags: --crate-type lib --edition 2018 #![crate_name = "foo"] -#![feature(rustdoc_internals)] +#![feature(rustc_attrs)] // @has foo/primitive.tuple.html '//a[@class="primitive"]' 'tuple' // @has - '//h1' 'Primitive Type tuple' @@ -9,7 +9,7 @@ // @has - '//h2[@id="synthetic-implementations"]' 'Auto Trait Implementations' // @has - '//div[@id="synthetic-implementations-list"]//h3' 'Send' // @has - '//div[@id="synthetic-implementations-list"]//h3' 'Sync' -#[doc(primitive = "tuple")] +#[rustc_doc_primitive = "tuple"] /// this is a test! /// // Hardcoded anchor to header written in library/core/src/primitive_docs.rs |
