Rename doc(primitive) into rustc_doc_primitive

This commit is contained in:
Guillaume Gomez 2023-03-21 16:43:51 +01:00
parent 789ee5e433
commit f40aa598e9
6 changed files with 6 additions and 19 deletions

View file

@ -778,6 +778,10 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
definition of a trait, it's currently in experimental form and should be changed before \
being exposed outside of the std"
),
rustc_attr!(
rustc_doc_primitive, Normal, template!(NameValueStr: "primitive name"), ErrorFollowing,
r#"`rustc_doc_primitive` is a rustc internal attribute"#,
),
// ==========================================================================
// Internal attributes, Testing: