Files
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
378 B
Rust
Raw Normal View History

2023-03-21 16:44:06 +01:00
#[rustc_doc_primitive = "usize"]
//~^ ERROR use of an internal attribute [E0658]
//~| NOTE the `#[rustc_doc_primitive]` attribute is an internal implementation detail that will never be stable
//~| NOTE the `#[rustc_doc_primitive]` attribute is used by the standard library to provide a way to generate documentation for primitive types
2021-07-10 22:06:10 -04:00
/// Some docs
mod usize {}
fn main() {}