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/titles.rs | |
| parent | f40aa598e97465feb753abbb18268a368ef0118e (diff) | |
| download | rust-3ef8d2d6075bcac4975b271684ebc6e67c20c83e.tar.gz rust-3ef8d2d6075bcac4975b271684ebc6e67c20c83e.zip | |
Update tests for rustc_doc_primitive
Diffstat (limited to 'tests/rustdoc/titles.rs')
| -rw-r--r-- | tests/rustdoc/titles.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/titles.rs b/tests/rustdoc/titles.rs index 69e8b856b0a..e1feb1cd64f 100644 --- a/tests/rustdoc/titles.rs +++ b/tests/rustdoc/titles.rs @@ -1,5 +1,5 @@ #![crate_name = "foo"] -#![feature(rustdoc_internals)] +#![feature(rustc_attrs)] // @matches 'foo/index.html' '//h1' 'Crate foo' // @matches 'foo/index.html' '//h2[@class="location"]' 'Crate foo' @@ -41,7 +41,7 @@ macro_rules! foo_macro { } // @matches 'foo/primitive.bool.html' '//h1' 'Primitive Type bool' -#[doc(primitive = "bool")] +#[rustc_doc_primitive = "bool"] mod bool {} // @matches 'foo/static.FOO_STATIC.html' '//h1' 'Static foo::FOO_STATIC' |
