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

@ -1,10 +1,10 @@
#![feature(rustdoc_internals)]
#![feature(rustc_attrs)]
#![crate_name = "foo"]
pub use std::fs::File;
// @has 'foo/primitive.i16.html' '//h2[@id="synthetic-implementations"]' 'Auto Trait Implementation'
#[doc(primitive = "i16")]
#[rustc_doc_primitive = "i16"]
/// I love poneys!
mod prim {}