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/tab_title.rs | |
| parent | f40aa598e97465feb753abbb18268a368ef0118e (diff) | |
| download | rust-3ef8d2d6075bcac4975b271684ebc6e67c20c83e.tar.gz rust-3ef8d2d6075bcac4975b271684ebc6e67c20c83e.zip | |
Update tests for rustc_doc_primitive
Diffstat (limited to 'tests/rustdoc/tab_title.rs')
| -rw-r--r-- | tests/rustdoc/tab_title.rs | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/tests/rustdoc/tab_title.rs b/tests/rustdoc/tab_title.rs index 0cc4f147e1c..8d781b40e46 100644 --- a/tests/rustdoc/tab_title.rs +++ b/tests/rustdoc/tab_title.rs @@ -1,4 +1,5 @@ #![crate_name = "foo"] +#![feature(rustc_attrs)] #![feature(rustdoc_internals)] // tests for the html <title> element @@ -39,6 +40,6 @@ mod continue_keyword {} // @has foo/primitive.u8.html '//head/title' 'u8 - Rust' // @!has - '//head/title' 'foo' -#[doc(primitive = "u8")] +#[rustc_doc_primitive = "u8"] /// `u8` docs mod u8 {} | 
