rust/tests/rustdoc/auto-impl-primitive.rs

11 lines
237 B
Rust
Raw Normal View History

2023-03-21 15:44:06 +00:00
#![feature(rustc_attrs)]
2018-05-07 12:01:53 +00:00
#![crate_name = "foo"]
2018-05-07 12:01:53 +00:00
pub use std::fs::File;
// @has 'foo/primitive.i16.html' '//h2[@id="synthetic-implementations"]' 'Auto Trait Implementation'
2023-03-21 15:44:06 +00:00
#[rustc_doc_primitive = "i16"]
2018-05-07 12:01:53 +00:00
/// I love poneys!
mod prim {}