]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rustdoc/feature-gate-doc_primitive.rs
Rollup merge of #99064 - lyming2007:issue-97687-fix, r=estebank
[rust.git] / src / test / ui / rustdoc / feature-gate-doc_primitive.rs
1 // check-pass
2 #[doc(primitive = "usize")]
3 //~^ WARNING `doc(primitive)` should never have been stable
4 //~| WARNING hard error in a future release
5 /// Some docs
6 mod usize {}
7
8 fn main() {}