Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 10 pull requests #104481

Merged
merged 26 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
2484a18
Add `compile_fail` to `let_underscore_drop` example
saschanaz Oct 24, 2022
3ff010b
Update compiler/rustc_lint/src/let_underscore.rs
saschanaz Oct 24, 2022
6b5f275
Update let_underscore.rs
saschanaz Oct 24, 2022
6279d09
Make `pointer::byte_offset_from` more generic
WaffleLapkin Oct 24, 2022
8ecbb7e
fix the lint as requested
saschanaz Oct 24, 2022
30b5223
Fix failing examples
saschanaz Oct 24, 2022
5fd561d
avoid memory leak in mpsc test
RalfJung Nov 14, 2022
55746a4
Fix test/ui/issues/issue-30490.rs
Ayush1325 Nov 14, 2022
8b34675
rustdoc: remove no-op CSS `.popover { font-size: 1rem }`
notriddle Nov 14, 2022
bd84709
rustdoc: add test case for font size in help popover
notriddle Nov 14, 2022
70ad2f5
respect visibility & stability of inherent associated types
fmease Nov 13, 2022
155a553
rustdoc: remove no-op CSS `.main-header { justify-content }`
notriddle Nov 14, 2022
9857de2
shift no characters when using raw string literals
TaKO8Ki Nov 9, 2022
6211faa
Fuchsia test suite script fix
andrewpollack Nov 15, 2022
0a528b1
Merge branch 'master' into patch-2
saschanaz Nov 15, 2022
e6e29a8
Update PROBLEMATIC_CONSTS in style.rs
scruss Nov 16, 2022
5140bbd
Rollup merge of #103484 - saschanaz:patch-2, r=ehuss
matthiaskrgr Nov 16, 2022
91963cc
Rollup merge of #103489 - WaffleLapkin:byte_offset_from_you, r=scottmcm
matthiaskrgr Nov 16, 2022
88a1919
Rollup merge of #104193 - TaKO8Ki:fix-104142, r=cjgillot
matthiaskrgr Nov 16, 2022
3a8cacd
Rollup merge of #104348 - fmease:iat-vis-stab, r=cjgillot
matthiaskrgr Nov 16, 2022
4864a04
Rollup merge of #104401 - RalfJung:mpsc-leak, r=Amanieu
matthiaskrgr Nov 16, 2022
4ef422e
Rollup merge of #104419 - Ayush1325:test-issue-30490, r=lcnr
matthiaskrgr Nov 16, 2022
b9d028a
Rollup merge of #104424 - notriddle:notriddle/popover-font-size, r=Gu…
matthiaskrgr Nov 16, 2022
25c3180
Rollup merge of #104425 - notriddle:notriddle/main-heading-justify-co…
matthiaskrgr Nov 16, 2022
c32d79c
Rollup merge of #104450 - andrewpollack:fix-fuchsia-compiler-docs, r=…
matthiaskrgr Nov 16, 2022
8bbecb9
Rollup merge of #104471 - scruss:patch-1, r=jyn514
matthiaskrgr Nov 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ h1.fqn {
.main-heading {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding-bottom: 6px;
margin-bottom: 15px;
}
Expand Down
17 changes: 17 additions & 0 deletions src/test/rustdoc-gui/type-declation-overflow.goml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,20 @@ goto: "file://" + |DOC_PATH| + "/lib2/too_long/struct.SuperIncrediblyLongLongLon
store-property: (scrollWidth, ".mobile-topbar h2", "scrollWidth")
assert-property: (".mobile-topbar h2", {"clientWidth": |scrollWidth|})
assert-css: (".mobile-topbar h2", {"overflow-x": "hidden"})

// Check wrapping for top main-heading h1 and out-of-band.
// On desktop, they wrap when too big.
size: (1100, 800)
goto: "file://" + |DOC_PATH| + "/lib2/too_long/struct.SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName.html"
compare-elements-position-false: (".main-heading h1", ".main-heading .out-of-band", ("y"))
goto: "file://" + |DOC_PATH| + "/lib2/index.html"
compare-elements-position: (".main-heading h1", ".main-heading .out-of-band", ("y"))
// make sure there is a gap between them
compare-elements-position-near-false: (".main-heading h1", ".main-heading .out-of-band", {"x": 550})

// On mobile, they always wrap.
size: (600, 600)
goto: "file://" + |DOC_PATH| + "/lib2/too_long/struct.SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName.html"
compare-elements-position-false: (".main-heading h1", ".main-heading .out-of-band", ("y"))
goto: "file://" + |DOC_PATH| + "/lib2/index.html"
compare-elements-position-false: (".main-heading h1", ".main-heading .out-of-band", ("y"))