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

11 lines
237 B
Rust
Raw Normal View History

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