rust/compiler
Stuart Cook f2306f3729
Rollup merge of #147123 - DJMcNab:doc_cfg_merge_version, r=fmease
Fix removed version numbers of `doc_auto_cfg` and `doc_cfg_hide`

Tracking issue: https://github.com/rust-lang/rust/issues/43781

The `doc_auto_cfg` and `doc_cfg_hide` features were removed in a recent nightly (by https://github.com/rust-lang/rust/pull/138907).
I believe that the rustc version numbers at which the features were declared to be removed were incorrect, however, and should both be "1.92" (±1). As evidence in favour of this, the error we get from using this was:

```text
error[E0557]: feature has been removed
  --> src/lib.rs:22:29
   |
22 | #![cfg_attr(docsrs, feature(doc_auto_cfg))]
   |                             ^^^^^^^^^^^^ feature has been removed
   |
   = note: removed in 1.58.0; see <https://github.com/rust-lang/rust/pull/138907> for more information
   = note: merged into `doc_cfg`
```

Note especially the "removed in 1.58" claim. Further evidence is found in the comment further up this file: 4ffeda10e1/compiler/rustc_feature/src/removed.rs (L49-L53)

I've chosen 1.92 as that was the milestone which https://github.com/rust-lang/rust/pull/138907 was added to.

cc `@GuillaumeGomez`
2025-09-29 21:06:46 +10:00
..
rustc Make llvm_enzyme a regular cargo feature 2025-09-15 15:31:56 +00:00
rustc_abi Rollup merge of #144066 - RalfJung:extern-c-variadics, r=workingjubilee 2025-09-02 17:08:52 +02:00
rustc_arena Introduce Arena::try_alloc_from_iter. 2025-04-19 01:13:18 +00:00
rustc_ast Use Iterator::eq and (dogfood) eq_by in compiler and library 2025-09-29 08:08:05 +03:00
rustc_ast_ir turn pointer width into an integer in target.json 2025-08-27 23:44:49 +02:00
rustc_ast_lowering Auto merge of #145882 - m-ou-se:format-args-extend-1-arg, r=petrochenkov 2025-09-26 04:34:09 +00:00
rustc_ast_passes Improve code and better check doc(cfg(...)) attributes 2025-09-27 11:29:49 +02:00
rustc_ast_pretty Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_attr_parsing Rollup merge of #147101 - yotamofek:pr/iter-eq-and-eq-by, r=jdonszelmann 2025-09-29 21:06:45 +10:00
rustc_baked_icu_data Use default locale fallback data 2025-08-28 09:48:54 +00:00
rustc_borrowck Rollup merge of #146711 - lcnr:fix-placeholder-ice, r=lqd 2025-09-24 20:34:19 +02:00
rustc_builtin_macros Use Iterator::eq and (dogfood) eq_by in compiler and library 2025-09-29 08:08:05 +03:00
rustc_codegen_cranelift Add a leading dash to linker plugin arguments in the gcc codegen 2025-09-28 13:57:33 -04:00
rustc_codegen_gcc Rollup merge of #147127 - antoyo:fix/gcc-linker-plugin, r=bjorn3 2025-09-29 11:56:44 +10:00
rustc_codegen_llvm Rollup merge of #147127 - antoyo:fix/gcc-linker-plugin, r=bjorn3 2025-09-29 11:56:44 +10:00
rustc_codegen_ssa Rollup merge of #147127 - antoyo:fix/gcc-linker-plugin, r=bjorn3 2025-09-29 11:56:44 +10:00
rustc_const_eval Apply cfg(bootstrap) replacement 2025-09-26 19:09:23 -04:00
rustc_data_structures avoid calling insert_presorted more than once 2025-09-10 08:40:12 +02:00
rustc_driver compiler: Add Windows resources to rustc-main and rustc_driver 2025-09-05 14:06:31 -04:00
rustc_driver_impl fixes for numerous clippy warnings 2025-09-19 20:56:07 +00:00
rustc_error_codes Changes to the uitests 2025-08-27 20:25:18 +02:00
rustc_error_messages Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_errors fix: Filter suggestion parts that match existing code 2025-09-04 17:42:13 -06:00
rustc_expand Rollup merge of #147031 - joshtriplett:mbe-opt-collect, r=lcnr 2025-09-26 18:11:14 +02:00
rustc_feature Fix removed version of doc_auto_cfg, doc_cfg_hide 2025-09-29 09:45:27 +01:00
rustc_fluent_macro Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_fs_util Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_graphviz
rustc_hashes
rustc_hir Rollup merge of #147101 - yotamofek:pr/iter-eq-and-eq-by, r=jdonszelmann 2025-09-29 21:06:45 +10:00
rustc_hir_analysis Rollup merge of #146987 - hkBst:sort-params-1, r=nnethercote 2025-09-29 21:06:45 +10:00
rustc_hir_id rustc_hir_id: Add a comment explaining why the crate exists 2025-08-20 15:04:00 -07:00
rustc_hir_pretty Rollup merge of #146102 - fmease:rm-dead-eff-code-iii, r=fee1-dead 2025-09-02 17:08:58 +02:00
rustc_hir_typeck Use Iterator::eq and (dogfood) eq_by in compiler and library 2025-09-29 08:08:05 +03:00
rustc_incremental Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_index Apply cfg(bootstrap) replacement 2025-09-26 19:09:23 -04:00
rustc_index_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_infer review 2025-09-26 16:37:08 +02:00
rustc_interface Rollup merge of #147092 - cjgillot:late-validate-mir, r=compiler-errors 2025-09-29 11:56:42 +10:00
rustc_lexer Fix a crash/mislex when more than one frontmatter closing possibility is considered 2025-09-22 15:10:41 -04:00
rustc_lint Port #[macro_export] to the new attribute parsing infrastructure 2025-09-21 10:42:47 -04:00
rustc_lint_defs Apply cfg(bootstrap) replacement 2025-09-26 19:09:23 -04:00
rustc_llvm Rollup merge of #144197 - KMJ-007:type-tree, r=ZuseZ4 2025-09-28 18:13:11 +02:00
rustc_log Update tracing, again 2025-09-08 09:23:37 -07:00
rustc_macros resolve: Do not finalize shadowed bindings 2025-09-25 20:36:14 +03:00
rustc_metadata Make def_path_hash_to_def_id not panic when passed an invalid hash 2025-09-26 18:36:15 +02:00
rustc_middle Rollup merge of #144197 - KMJ-007:type-tree, r=ZuseZ4 2025-09-28 18:13:11 +02:00
rustc_mir_build Rollup merge of #141469 - Kivooeo:remove-usnsafegate, r=compiler-errors 2025-09-28 18:13:11 +02:00
rustc_mir_dataflow Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_mir_transform Handle self-loops too. 2025-09-26 20:44:06 +00:00
rustc_monomorphize Auto merge of #145717 - BoxyUwU:erase_regions_rename, r=lcnr 2025-09-09 15:04:44 +00:00
rustc_next_trait_solver Rollup merge of #147061 - lcnr:provisional-cache-woops, r=BoxyUwU 2025-09-28 09:15:25 +02:00
rustc_parse Use Iterator::eq and (dogfood) eq_by in compiler and library 2025-09-29 08:08:05 +03:00
rustc_parse_format Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_passes Improve code and fix typo 2025-09-27 11:29:50 +02:00
rustc_pattern_analysis Remove DynKind 2025-09-17 04:46:46 +02:00
rustc_privacy fix doc comments to be more standard 2025-09-26 09:25:56 +00:00
rustc_proc_macro Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_public Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmann 2025-09-18 11:48:51 +10:00
rustc_public_bridge Remove useless lifetime parameter. 2025-07-23 23:54:37 +00:00
rustc_query_impl fixup limit handling code 2025-09-08 15:07:12 -07:00
rustc_query_system fixup limit handling code 2025-09-08 15:07:12 -07:00
rustc_resolve Detect unconstructable re-exported tuple structs 2025-09-28 21:33:34 +00:00
rustc_sanitizers Remove DynKind 2025-09-17 04:46:46 +02:00
rustc_serialize Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_session Rollup merge of #144197 - KMJ-007:type-tree, r=ZuseZ4 2025-09-28 18:13:11 +02:00
rustc_span Rollup merge of #147113 - heiher:src-analysis-lsx, r=lqd 2025-09-28 18:13:12 +02:00
rustc_symbol_mangling Add proper name mangling for pattern types 2025-09-23 10:59:29 +00:00
rustc_target Rollup merge of #146758 - mati865:amd64_mingw_no_rs_objects, r=petrochenkov 2025-09-26 18:11:10 +02:00
rustc_thread_pool Fix a dangling reference in rustc_thread_pool 2025-09-22 14:04:04 -07:00
rustc_trait_selection allow method calls on opaques 2025-09-26 16:33:15 +02:00
rustc_traits erase_regions to erase_and_anonymize_regions 2025-09-09 14:49:16 +02:00
rustc_transmute Add an attribute to check the number of lanes in a SIMD vector after monomorphization 2025-09-23 20:47:34 -04:00
rustc_ty_utils Rollup merge of #146667 - calebzulawski:simd-mono-lane-limit, r=lcnr,RalfJung 2025-09-25 20:31:53 +10:00
rustc_type_ir Rollup merge of #147061 - lcnr:provisional-cache-woops, r=BoxyUwU 2025-09-28 09:15:25 +02:00
rustc_type_ir_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_windows_rc [win] Use find-msvc-tools instead of cc to find the linker and rc on Windows 2025-09-19 12:00:30 -07:00