diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-09-29 21:06:46 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-29 21:06:46 +1000 |
| commit | f2306f37294aa64060b1a83cd8d31655bb369a47 (patch) | |
| tree | 03f15001bfc6f017c9edea6a5036ed0cc5b21194 /compiler/rustc_parse | |
| parent | 08616a17457bb93eb177d9189f92345d1924294d (diff) | |
| parent | 04ee9915897ba66a768440e1aaeaf1e63f14ba02 (diff) | |
| download | rust-f2306f37294aa64060b1a83cd8d31655bb369a47.tar.gz rust-f2306f37294aa64060b1a83cd8d31655bb369a47.zip | |
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: https://github.com/rust-lang/rust/blob/4ffeda10e10d4fa0c8edbd0dd9642d8ae7d3e66e/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`
Diffstat (limited to 'compiler/rustc_parse')
0 files changed, 0 insertions, 0 deletions
