forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#102121 - JohnTitor:rollup-3fb1wrt, r=JohnTitor
Rollup of 12 pull requests Successful merges: - rust-lang#101952 (Avoid panicking on missing fallback) - rust-lang#102030 (Don't crate-locally reexport walk functions in tidy) - rust-lang#102032 (Adding ignore fuchsia tests for signal interpretation cases) - rust-lang#102033 (Adding needs-unwind to nicer-assert-messages compiler ui tests) - rust-lang#102054 (Unify "all items" page's sidebar with other pages) - rust-lang#102071 (Adding needs-unwind for tests testing memory size of Futures/Closures) - rust-lang#102073 (Adding ignore fuchsia tests for execvp) - rust-lang#102075 (rustdoc: remove no-op CSS `.content > .methods > .method`) - rust-lang#102079 (Update books) - rust-lang#102084 (Adding needs-unwind for test using panic::catch_unwind) - rust-lang#102100 (Prevent usage of .stab elements to create scrollable areas in doc blocks) - rust-lang#102102 (Add doc aliases on Sized trait) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
40 changed files
with
246 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule book
updated
5 files
+4 −3 | src/appendix-04-useful-development-tools.md | |
+1 −1 | src/ch05-02-example-structs.md | |
+1 −1 | src/ch13-02-iterators.md | |
+6 −5 | src/ch15-02-deref.md | |
+2 −2 | src/ch16-01-threads.md |
Submodule reference
updated
9 files
+3 −0 | src/attributes.md | |
+0 −4 | src/attributes/derive.md | |
+1 −1 | src/expressions.md | |
+2 −2 | src/expressions/block-expr.md | |
+1 −1 | src/expressions/closure-expr.md | |
+3 −3 | src/identifiers.md | |
+57 −1 | src/items/external-blocks.md | |
+25 −5 | src/type-layout.md | |
+3 −3 | src/types/pointer.md |
Submodule rust-by-example
updated
5 files
+2 −2 | src/error/option_unwrap/defaults.md | |
+3 −3 | src/flow_control/match/guard.md | |
+1 −2 | src/mod/struct_visibility.md | |
+1 −1 | src/std/str.md | |
+1 −1 | src/unsafe/asm.md |
Submodule rustc-dev-guide
updated
18 files
+1 −1 | src/backend/codegen.md | |
+47 −39 | src/building/bootstrapping.md | |
+12 −2 | src/building/how-to-build-and-run.md | |
+2 −6 | src/building/new-target.md | |
+4 −2 | src/building/prerequisites.md | |
+50 −3 | src/const-eval.md | |
+31 −79 | src/contributing.md | |
+3 −5 | src/diagnostics.md | |
+15 −2 | src/diagnostics/diagnostic-structs.md | |
+3 −1 | src/feature-gates.md | |
+2 −3 | src/git.md | |
+0 −3 | src/img/rustc_stages.svg | |
+9 −3 | src/implementing_new_features.md | |
+1 −1 | src/name-resolution.md | |
+1 −1 | src/overview.md | |
+1 −1 | src/rustc-driver.md | |
+2 −4 | src/stability.md | |
+1 −1 | src/tests/intro.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// This test checks that using `.stab` attributes in `.docblock` elements doesn't | ||
// create scrollable paragraphs. | ||
goto: file://|DOC_PATH|/test_docs/index.html | ||
// Needs the text to be display to check for scrollable content. | ||
show-text: true | ||
size: (786, 600) | ||
// Confirms that there 3 paragraphs. | ||
assert-count: (".top-doc .docblock p", 3) | ||
// Checking that there is no scrollable content. | ||
assert-property: ( | ||
".top-doc .docblock p:nth-of-type(1)", | ||
{"scrollHeight": "120", "clientHeight": "120", "scrollWidth": "502", "clientWidth": "502"}, | ||
) | ||
assert-property: ( | ||
".top-doc .docblock p:nth-of-type(2)", | ||
{"scrollHeight": "48", "clientHeight": "48", "scrollWidth": "502", "clientWidth": "502"}, | ||
) | ||
assert-property: ( | ||
".top-doc .docblock p:nth-of-type(3)", | ||
{"scrollHeight": "48", "clientHeight": "48", "scrollWidth": "502", "clientWidth": "502"}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#![crate_name = "foo"] | ||
|
||
#![feature(rustdoc_internals)] | ||
|
||
// @has 'foo/all.html' | ||
// @has - '//*[@class="sidebar-elems"]//li' 'Structs' | ||
// @has - '//*[@class="sidebar-elems"]//li' 'Enums' | ||
// @has - '//*[@class="sidebar-elems"]//li' 'Unions' | ||
// @has - '//*[@class="sidebar-elems"]//li' 'Functions' | ||
// @has - '//*[@class="sidebar-elems"]//li' 'Traits' | ||
// @has - '//*[@class="sidebar-elems"]//li' 'Macros' | ||
// @has - '//*[@class="sidebar-elems"]//li' 'Type Definitions' | ||
// @has - '//*[@class="sidebar-elems"]//li' 'Constants' | ||
// @has - '//*[@class="sidebar-elems"]//li' 'Statics' | ||
// @has - '//*[@class="sidebar-elems"]//li' 'Primitive Types' | ||
|
||
pub struct Foo; | ||
pub enum Enum { | ||
A, | ||
} | ||
pub union Bar { | ||
a: u8, | ||
b: u16, | ||
} | ||
pub fn foo() {} | ||
pub trait Trait {} | ||
#[macro_export] | ||
macro_rules! foo { | ||
() => {} | ||
} | ||
pub type Type = u8; | ||
pub const FOO: u8 = 0; | ||
pub static BAR: u8 = 0; | ||
#[doc(primitive = "u8")] | ||
mod u8 {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.