File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -219,6 +219,18 @@ pub fn collect_lang_features(base_src_path: &Path) -> Features {
219219
220220pub fn collect_lib_features ( base_src_path : & Path ) -> Features {
221221 let mut lib_features = Features :: new ( ) ;
222+
223+ // This library feature is defined in the `compiler_builtins` crate, which
224+ // has been moved out-of-tree. Now it can no longer be auto-discovered by
225+ // `tidy`, because we need to filter out its (submodule) directory. Manually
226+ // add it to the set of known library features so we can still generate docs.
227+ lib_features. insert ( "compiler_builtins_lib" . to_owned ( ) , Feature {
228+ level : Status :: Unstable ,
229+ since : "" . to_owned ( ) ,
230+ has_gate_test : false ,
231+ tracking_issue : None ,
232+ } ) ;
233+
222234 map_lib_features ( base_src_path,
223235 & mut |res, _, _| {
224236 match res {
You can’t perform that action at this time.
0 commit comments