Auto merge of #91203 - GuillaumeGomez:rollup-kwtqvb1, r=GuillaumeGomez
Rollup of 7 pull requests Successful merges: - #89542 (Partially stabilize `duration_consts_2`) - #90044 (Restrict aarch64 outline atomics to glibc for now.) - #90420 (Create rustdoc_internals feature gate) - #91075 (Reduce prominence of item-infos) - #91151 (Fix test in std::process on android) - #91179 (Fix more <a> color) - #91199 (rustdoc: Add test for mixing doc comments and attrs) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This commit is contained in:
commit
d2c24aabcd
36 changed files with 199 additions and 127 deletions
|
|
@ -682,7 +682,7 @@ fn short_item_info(
|
|||
|
||||
// Render unstable items. But don't render "rustc_private" crates (internal compiler crates).
|
||||
// Those crates are permanently unstable so it makes no sense to render "unstable" everywhere.
|
||||
if let Some((StabilityLevel::Unstable { reason, issue, .. }, feature)) = item
|
||||
if let Some((StabilityLevel::Unstable { reason: _, issue, .. }, feature)) = item
|
||||
.stability(cx.tcx())
|
||||
.as_ref()
|
||||
.filter(|stab| stab.feature != sym::rustc_private)
|
||||
|
|
@ -702,22 +702,6 @@ fn short_item_info(
|
|||
|
||||
message.push_str(&format!(" ({})", feature));
|
||||
|
||||
if let Some(unstable_reason) = reason {
|
||||
let mut ids = cx.id_map.borrow_mut();
|
||||
message = format!(
|
||||
"<details><summary>{}</summary>{}</details>",
|
||||
message,
|
||||
MarkdownHtml(
|
||||
&unstable_reason.as_str(),
|
||||
&mut ids,
|
||||
error_codes,
|
||||
cx.shared.edition(),
|
||||
&cx.shared.playground,
|
||||
)
|
||||
.into_string()
|
||||
);
|
||||
}
|
||||
|
||||
extra_info.push(format!("<div class=\"stab unstable\">{}</div>", message));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -964,8 +964,6 @@ body.blur > :not(#help) {
|
|||
display: table;
|
||||
}
|
||||
.stab {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
padding: 3px;
|
||||
margin-bottom: 5px;
|
||||
font-size: 90%;
|
||||
|
|
@ -976,7 +974,7 @@ body.blur > :not(#help) {
|
|||
}
|
||||
|
||||
.stab .emoji {
|
||||
font-size: 1.5em;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
/* Black one-pixel outline around emoji shapes */
|
||||
|
|
|
|||
|
|
@ -218,6 +218,8 @@ a {
|
|||
}
|
||||
a.srclink,
|
||||
a#toggle-all-docs,
|
||||
a.anchor,
|
||||
.section-header a,
|
||||
#source-sidebar a,
|
||||
pre.rust a,
|
||||
.sidebar a,
|
||||
|
|
|
|||
|
|
@ -180,6 +180,8 @@ a {
|
|||
}
|
||||
a.srclink,
|
||||
a#toggle-all-docs,
|
||||
a.anchor,
|
||||
.section-header a,
|
||||
#source-sidebar a,
|
||||
pre.rust a,
|
||||
.sidebar a,
|
||||
|
|
|
|||
|
|
@ -175,6 +175,8 @@ a {
|
|||
}
|
||||
a.srclink,
|
||||
a#toggle-all-docs,
|
||||
a.anchor,
|
||||
.section-header a,
|
||||
#source-sidebar a,
|
||||
pre.rust a,
|
||||
.sidebar a,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue