Skip to content

Commit 401ae55

Browse files
committed
Auto merge of #148544 - matthiaskrgr:rollup-n9dqgwc, r=matthiaskrgr
Rollup of 8 pull requests Successful merges: - #147994 (Deduplicate deprecation warning when using unit or tuple structs) - #148440 ([rustdoc search] Simplify itemTypes and filter "dependencies") - #148501 (triagebot: Create Zulip topics for libs backports) - #148517 (Remove no longer necessary lint allow) - #148518 (Unify the configuration of the compiler docs) - #148523 (miri subtree update) - #148525 (Fix ICE from lit_to_mir_constant caused by type error) - #148534 (Merge `Vec::push{,_mut}_within_capacity`) r? `@ghost` `@rustbot` modify labels: rollup
2 parents b01cc1c + 05f3a3d commit 401ae55

File tree

84 files changed

+666
-633
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+666
-633
lines changed

compiler/rustc_abi/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
// tidy-alphabetical-start
22
#![cfg_attr(feature = "nightly", allow(internal_features))]
3-
#![cfg_attr(feature = "nightly", doc(rust_logo))]
43
#![cfg_attr(feature = "nightly", feature(assert_matches))]
54
#![cfg_attr(feature = "nightly", feature(rustc_attrs))]
6-
#![cfg_attr(feature = "nightly", feature(rustdoc_internals))]
75
#![cfg_attr(feature = "nightly", feature(step_trait))]
86
// tidy-alphabetical-end
97

compiler/rustc_arena/src/lib.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,13 @@
1212
#![allow(internal_features)]
1313
#![cfg_attr(test, feature(test))]
1414
#![deny(unsafe_op_in_unsafe_fn)]
15-
#![doc(
16-
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
17-
test(no_crate_inject, attr(deny(warnings)))
18-
)]
19-
#![doc(rust_logo)]
15+
#![doc(test(no_crate_inject, attr(deny(warnings), allow(internal_features))))]
2016
#![feature(core_intrinsics)]
2117
#![feature(decl_macro)]
2218
#![feature(dropck_eyepatch)]
2319
#![feature(maybe_uninit_slice)]
2420
#![feature(never_type)]
2521
#![feature(rustc_attrs)]
26-
#![feature(rustdoc_internals)]
2722
#![feature(unwrap_infallible)]
2823
// tidy-alphabetical-end
2924

compiler/rustc_ast/src/lib.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,13 @@
55
//! This API is completely unstable and subject to change.
66
77
// tidy-alphabetical-start
8-
#![allow(internal_features)]
9-
#![doc(
10-
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
11-
test(attr(deny(warnings)))
12-
)]
13-
#![doc(rust_logo)]
8+
#![doc(test(attr(deny(warnings), allow(internal_features))))]
149
#![feature(array_windows)]
1510
#![feature(associated_type_defaults)]
1611
#![feature(box_patterns)]
1712
#![feature(if_let_guard)]
1813
#![feature(iter_order_by)]
1914
#![feature(macro_metavar_expr)]
20-
#![feature(rustdoc_internals)]
2115
#![recursion_limit = "256"]
2216
// tidy-alphabetical-end
2317

compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,8 @@
3131
//! in the HIR, especially for multiple identifiers.
3232
3333
// tidy-alphabetical-start
34-
#![allow(internal_features)]
35-
#![doc(rust_logo)]
3634
#![feature(box_patterns)]
3735
#![feature(if_let_guard)]
38-
#![feature(rustdoc_internals)]
3936
// tidy-alphabetical-end
4037

4138
use std::sync::Arc;

compiler/rustc_ast_passes/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@
33
//! by `rustc_ast_lowering`.
44
55
// tidy-alphabetical-start
6-
#![allow(internal_features)]
7-
#![doc(rust_logo)]
86
#![feature(box_patterns)]
97
#![feature(if_let_guard)]
108
#![feature(iter_is_partitioned)]
11-
#![feature(rustdoc_internals)]
129
// tidy-alphabetical-end
1310

1411
pub mod ast_validation;

compiler/rustc_ast_pretty/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// tidy-alphabetical-start
2-
#![allow(internal_features)]
3-
#![doc(rust_logo)]
42
#![feature(box_patterns)]
53
#![feature(negative_impls)]
6-
#![feature(rustdoc_internals)]
74
// tidy-alphabetical-end
85

96
mod helpers;

compiler/rustc_attr_parsing/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,7 @@
7777
//! containing both `C` and `packed` annotations.
7878
7979
// tidy-alphabetical-start
80-
#![allow(internal_features)]
81-
#![doc(rust_logo)]
8280
#![feature(decl_macro)]
83-
#![feature(rustdoc_internals)]
8481
#![recursion_limit = "256"]
8582
// tidy-alphabetical-end
8683

compiler/rustc_baked_icu_data/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@
2121
2222
// tidy-alphabetical-start
2323
#![allow(elided_lifetimes_in_paths)]
24-
#![allow(internal_features)]
2524
#![allow(unreachable_pub)] // because this crate is mostly generated code
26-
#![doc(rust_logo)]
27-
#![feature(rustdoc_internals)]
2825
// #![warn(unreachable_pub)] // don't use because this crate is mostly generated code
2926
// tidy-alphabetical-end
3027

compiler/rustc_borrowck/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
33
// tidy-alphabetical-start
44
#![allow(internal_features)]
5-
#![doc(rust_logo)]
65
#![feature(assert_matches)]
76
#![feature(box_patterns)]
87
#![feature(file_buffered)]
98
#![feature(if_let_guard)]
109
#![feature(negative_impls)]
1110
#![feature(never_type)]
1211
#![feature(rustc_attrs)]
13-
#![feature(rustdoc_internals)]
1412
#![feature(stmt_expr_attributes)]
1513
#![feature(try_blocks)]
1614
// tidy-alphabetical-end

compiler/rustc_builtin_macros/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,13 @@
55
#![allow(internal_features)]
66
#![allow(rustc::diagnostic_outside_of_impl)]
77
#![allow(rustc::untranslatable_diagnostic)]
8-
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
9-
#![doc(rust_logo)]
108
#![feature(assert_matches)]
119
#![feature(box_patterns)]
1210
#![feature(decl_macro)]
1311
#![feature(if_let_guard)]
1412
#![feature(iter_order_by)]
1513
#![feature(proc_macro_internals)]
1614
#![feature(proc_macro_quote)]
17-
#![feature(rustdoc_internals)]
1815
#![feature(try_blocks)]
1916
#![recursion_limit = "256"]
2017
// tidy-alphabetical-end

0 commit comments

Comments
 (0)