rust/tests/ui/rustdoc/feature-gate-doc_primitive.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
187 B
Rust
Raw Normal View History

2021-07-10 21:06:10 -05:00
// check-pass
#[doc(primitive = "usize")]
//~^ WARNING `doc(primitive)` should never have been stable
//~| WARNING hard error in a future release
/// Some docs
mod usize {}
fn main() {}