1
Fork 0

Update tests for rustc_doc_primitive

This commit is contained in:
Guillaume Gomez 2023-03-21 16:44:06 +01:00
parent f40aa598e9
commit 3ef8d2d607
29 changed files with 57 additions and 56 deletions

View file

@ -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 {}