@@ -777,20 +777,21 @@ pub mod from {
777777 pub use core:: from:: From ;
778778}
779779
780+ // Include private modules that exist solely to provide rustdoc
781+ // documentation for built-in attributes. Using `include!` because rustdoc
782+ // only looks for these modules at the crate level.
783+ include ! ( "../../core/src/attribute_docs.rs" ) ;
784+
780785// Include a number of private modules that exist solely to provide
781- // the rustdoc documentation for primitive types . Using `include!`
786+ // the rustdoc documentation for the existing keywords . Using `include!`
782787// because rustdoc only looks for these modules at the crate level.
783- include ! ( "../../core/src/primitive_docs .rs" ) ;
788+ include ! ( "../../core/src/keyword_docs .rs" ) ;
784789
785790// Include a number of private modules that exist solely to provide
786- // the rustdoc documentation for the existing keywords . Using `include!`
791+ // the rustdoc documentation for primitive types . Using `include!`
787792// because rustdoc only looks for these modules at the crate level.
788- include ! ( "keyword_docs .rs" ) ;
793+ include ! ( "../../core/src/primitive_docs .rs" ) ;
789794
790- // Include private modules that exist solely to provide rustdoc
791- // documentation for built-in attributes. Using `include!` because rustdoc
792- // only looks for these modules at the crate level.
793- include ! ( "attribute_docs.rs" ) ;
794795
795796// This is required to avoid an unstable error when `restricted-std` is not
796797// enabled. The use of #![feature(restricted_std)] in rustc-std-workspace-std
0 commit comments