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#100048 - matthiaskrgr:rollup-agimvm6, r=matth…
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#99156 (`codegen_fulfill_obligation` expect erased regions) - rust-lang#99293 (only run --all-targets in stage0 for Std) - rust-lang#99779 (Fix item info pos and height) - rust-lang#99994 (Remove `guess_head_span`) - rust-lang#100011 (Use Parser's `restrictions` instead of `let_expr_allowed`) - rust-lang#100017 (kmc-solid: Update `Socket::connect_timeout` to be in line with rust-lang#78802) - rust-lang#100037 (Update rustc man page to match `rustc --help`) - rust-lang#100042 (Update books) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
20 changed files
with
418 additions
and
324 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
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
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 reference
updated
14 files
+1 −1 | src/SUMMARY.md | |
+0 −1 | src/attributes/type_system.md | |
+2 −4 | src/const_eval.md | |
+2 −2 | src/destructors.md | |
+2 −4 | src/expressions.md | |
+0 −7 | src/expressions/array-expr.md | |
+1 −2 | src/expressions/block-expr.md | |
+75 −81 | src/expressions/if-expr.md | |
+54 −26 | src/expressions/loop-expr.md | |
+1 −1 | src/expressions/struct-expr.md | |
+2 −2 | src/names.md | |
+2 −2 | src/names/namespaces.md | |
+1 −1 | src/patterns.md | |
+2 −2 | src/tokens.md |
Submodule rust-by-example
updated
11 files
+1 −0 | src/SUMMARY.md | |
+2 −0 | src/attribute.md | |
+123 −0 | src/error/option_unwrap/defaults.md | |
+3 −0 | src/fn/closures.md | |
+9 −1 | src/fn/closures/closure_examples/iter_any.md | |
+1 −1 | src/fn/closures/closure_examples/iter_find.md | |
+10 −9 | src/hello/print.md | |
+1 −1 | src/std/rc.md | |
+1 −1 | src/std_misc/threads/testcase_mapreduce.md | |
+6 −5 | src/testing/integration_testing.md | |
+2 −2 | src/unsafe/asm.md |
Submodule rustc-dev-guide
updated
11 files
+33 −39 | src/building/compiler-documenting.md | |
+46 −5 | src/building/how-to-build-and-run.md | |
+16 −0 | src/building/new-target.md | |
+1 −0 | src/contributing.md | |
+37 −1 | src/debugging-support-in-rustc.md | |
+1 −1 | src/diagnostics/diagnostic-items.md | |
+1 −1 | src/git.md | |
+2 −2 | src/macro-expansion.md | |
+5 −5 | src/mir/optimizations.md | |
+2 −2 | src/name-resolution.md | |
+10 −8 | src/serialization.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 was deleted.
Oops, something went wrong.
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,32 @@ | ||
// This test ensures a few things for item info elements. | ||
goto: file://|DOC_PATH|/lib2/struct.Foo.html | ||
// Ensuring that the item information don't take 100% of the width if unnecessary. | ||
// We set a fixed size so there is no chance of "random" resize. | ||
size: (1100, 800) | ||
// We check that ".item-info" is bigger than its content. | ||
assert-css: (".item-info", {"width": "790px"}) | ||
assert-css: (".item-info .stab", {"width": "289px"}) | ||
assert-position: (".item-info .stab", {"x": 295}) | ||
|
||
// Now we ensure that they're not rendered on the same line. | ||
goto: file://|DOC_PATH|/lib2/trait.Trait.html | ||
// We first ensure that there are two item info on the trait. | ||
assert-count: ("#main-content > .item-info .stab", 2) | ||
// They should not have the same `y` position! | ||
compare-elements-position-false: ( | ||
"#main-content > .item-info .stab:nth-of-type(1)", | ||
"#main-content > .item-info .stab:nth-of-type(2)", | ||
("y"), | ||
) | ||
// But they should have the same `x` position. | ||
compare-elements-position: ( | ||
"#main-content > .item-info .stab:nth-of-type(1)", | ||
"#main-content > .item-info .stab:nth-of-type(2)", | ||
("x"), | ||
) | ||
// They are supposed to have the same height too. | ||
compare-elements-css: ( | ||
"#main-content > .item-info .stab:nth-of-type(1)", | ||
"#main-content > .item-info .stab:nth-of-type(2)", | ||
["height"], | ||
) |
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.