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 #102086

Closed
wants to merge 23 commits into from

Commits on Sep 19, 2022

  1. Configuration menu
    Copy the full SHA
    74e3d99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a4dc61 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2022

  1. Configuration menu
    Copy the full SHA
    5343dc7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a3109e View commit details
    Browse the repository at this point in the history
  3. Clarify Path::extension() semantics in docs abstract

    State up-front and center what shape the returned extension will have, without
    making the user read through the description and examples.
    
    Rationale: Various frameworks and libraries for different platforms have their
    different conventions as to whether an "extension" is ".ext" or just "ext" and
    anyone that's had to deal with this ambiguity in the past is always double- or
    triple-checking to make sure the function call returns an extension that matches
    the expected semantics. Offer the answer to this important question right off
    the bat instead of making them dig to find it.
    mqudsi committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    c291d2a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    83e6128 View commit details
    Browse the repository at this point in the history
  5. rustdoc: remove unnecessary max-width on headers

    This code was added in 003b2bc to prevent
    these headers from overlapping `.out-of-band` side items. That stopped
    being a problem when 3f92ff3 switched
    rustdoc over to using `float`, rather than `position: absolute`, to
    implement this.
    notriddle committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    d355b0e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    592ae20 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    27a420f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ad52e32 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b7dc934 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Update books

    ehuss committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    e746713 View commit details
    Browse the repository at this point in the history
  2. Overhaul -Zmeta-stats output.

    It's now much more like the `-Zhir-stats` output.
    - Each line is preceded with `meta-stats`, which makes the provenance
      clearer and allows filtering of the output.
    - Sections are now sorted in reverse order of size.
    - Column headings avoid the need to repeat the word "bytes" on every line.
    - Long numbers now have `_` separators for easier reading.
    - Consistent use of '-' within section labels, rather than a mix of '-',
      '_', and ' '.
    
    The code itself is shorter and easier to read thanks to:
    - the `stat` macro, which encapsulates each section's encoding, avoids
      some boilerplate, and removes the need for some low-value comments;
    - the `stats` vector, which replaces dozens of local variables.
    nnethercote committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    a7b35b5 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#102031 - andrewpollack:compiler-tests-backt…

    …race, r=tmandry
    
    Adding ignore fuchsia tests for Backtrace, ErrorKind cases
    
    Tests where Backtrace parses are required (invalid since Fuchsia backtraces are not symbolized), and test where ErrorKind is not properly translated from a Fuchsia-style to Unix-style error code
    
    cc. `@djkoloski`
    
    r? `@tmandry`
    matthiaskrgr authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    ae032a7 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#102033 - andrewpollack:add-unwind-on-pretty…

    …, r=tmandry
    
    Adding needs-unwind to nicer-assert-messages compiler ui tests
    
    Tests where unwind is required for asserting on contents of error message
    
    cc. `@djkoloski`
    
    r? `@tmandry`
    matthiaskrgr authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    351bfe2 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#102041 - nnethercote:improve-meta-stats, r=…

    …bjorn3
    
    Improve `-Zmeta-stats` some more
    
    A follow-up to rust-lang#97384.
    
    r? `@bjorn3`
    matthiaskrgr authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    2f48efc View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#102054 - GuillaumeGomez:sidebar-all-page, r…

    …=notriddle
    
    Unify "all items" page's sidebar with other pages
    
    Currently, the "all types" page's sidebar doesn't list the different categories of type available. This PR fixes it.
    
    Before:
    
    ![Screenshot from 2022-09-20 17-11-15](https://user-images.githubusercontent.com/3050060/191296348-95d8771d-a887-432e-96bd-d5284d87d743.png)
    
    After:
    
    ![Screenshot from 2022-09-20 17-11-09](https://user-images.githubusercontent.com/3050060/191296344-8e7318a3-eb51-4037-ae94-7ae2115363ce.png)
    
    r? `@notriddle`
    matthiaskrgr authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    fd164c0 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#102058 - mqudsi:path_extension_docs, r=thomcc

    Clarify Path::extension() semantics in docs abstract
    
    State up-front and center what shape the returned extension will have, without making the user read through the description and examples.
    
    This is a doc-only change. There are no changes to the API contract and the clarification is in line with what was already stated/promised in the existing doc text - just clarified, summarized, and served bright and early.
    
    Rationale: Various frameworks and libraries for different platforms have their different conventions as to whether an "extension" is ".ext" or just "ext" and anyone that's had to deal with this ambiguity in the past is always double- or triple-checking to make sure the function call returns an extension that matches the expected semantics. Offer the answer to this important question right off the bat instead of making them dig to find it.
    
    `@rustbot` label +A-docs
    matthiaskrgr authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    556c4e0 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#102059 - compiler-errors:issue-101984, r=ja…

    …ckh726
    
    Use rebind instead of dummy binder in `SameTypeModuloInfer` relation
    
    Lazy binder usage (sorry, my fault) + assertion in `Binder::dummy`
    
    Fixes rust-lang#101984
    matthiaskrgr authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    e6748c3 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#102066 - notriddle:notriddle/headers-max-wi…

    …dth, r=GuillaumeGomez
    
    rustdoc: remove unnecessary `max-width` on headers
    
    This code was added in 003b2bc to prevent these headers from overlapping `.out-of-band` side items. That stopped being a problem when 3f92ff3 switched rustdoc over to using `float`, rather than `position: absolute`, to implement this.
    matthiaskrgr authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    9a15767 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#102071 - andrewpollack:add-needs-unwind-for…

    …-binary-size, r=tmandry
    
    Adding needs-unwind for tests testing memory size of Futures/Closures
    
    Adding needs-unwind for tests testing memory size of Futures/Closures
    
    cc. `@djkoloski`
    
    r? `@tmandry`
    matthiaskrgr authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    8a7599d View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#102073 - andrewpollack:add-execvp-call-igno…

    …re, r=tmandry
    
    Adding ignore fuchsia tests for execvp
    
    Adding ignore fuchsia tests for execvp
    
    cc. `@djkoloski`
    
    r? `@tmandry`
    matthiaskrgr authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    7600262 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#102079 - ehuss:update-books, r=ehuss

    Update books
    
    ## nomicon
    
    1 commits in d880e6ac2acf133dce640da24b9fb692844f02d4..f53bfa056929217870a5d2df1366d2e7ba35096d
    2022-08-24 12:42:34 -0700 to 2022-09-05 07:19:02 -0700
    - Small typo (rust-lang/nomicon#379)
    
    ## reference
    
    9 commits in f62e93c28323ed9637d0a205a0c256498674a509..a7cdac33ca7356ad49d5c2b5e2c5010889b33eee
    2022-08-28 10:01:28 -0700 to 2022-09-19 17:39:58 -0700
    - Clarify wording for references. (rust-lang/reference#1223)
    - Update Unicode reference to match rustc implementation (rust-lang/reference#1271)
    - Add documentation for raw-dylib and link_ordinal (rust-lang/reference#1244)
    - Specify guarantees for repr(rust) structs (rust-lang/reference#1152)
    - Classify AsyncBlockExpression as ExpressionWithoutBlock (rust-lang/reference#1268)
    - Update closure-expr.md (rust-lang/reference#1269)
    - Clarify that 0 is a valid multiple of a type's alignment (rust-lang/reference#1260)
    - Remove `ne` from derive example (rust-lang/reference#1264)
    - Clarify reference on async blocks (rust-lang/reference#1262)
    
    ## book
    
    6 commits in 0a5421ceb238357b3634fb75234eba4d1dad643c..f1e5ad844d0c61738006cdef26227beeb136948e
    2022-08-28 19:51:04 -0400 to 2022-09-19 09:48:21 -0400
    - Fix punctuation in ch05-02
    - Ownership move chapter link fix
    - Wrong listing number
    - Reword text around box
    - `Box<T>` instead of "box"
    - Update Clippy output in Appendix D
    
    ## rust-by-example
    
    2 commits in 03301f8ae55fa6f20f7ea152a517598e6db2cdb7..767a6bd9727a596d7cfdbaeee475e65b2670ea3a
    2022-08-14 08:51:44 -0300 to 2022-09-14 09:17:18 -0300
    - struct_visibility.md:  Remove unneeded '#[allow(dead_code)]' (rust-lang/rust-by-example#1609)
    - Fix assorted typos (rust-lang/rust-by-example#1601)
    
    ## rustc-dev-guide
    
    15 commits in 04892c1a6fc145602ac7367945fda9d4ee83c9fb..f587d6e7cddeaa3cf0a33ec1e368df1a408fa0aa
    2022-08-29 20:07:51 +0200 to 2022-09-20 07:43:59 +0900
    - Update stability guide to use CURRENT_RUSTC_VERSION (rust-lang/rustc-dev-guide#1468)
    - Add a note about building `rust-analyzer-proc-macro-srv` (rust-lang/rustc-dev-guide#1467)
    - Link from "implementing to new features" to mcp.md (rust-lang/rustc-dev-guide#1465)
    - remove stray **
    - Explain the new valtree system for type level constants. (rust-lang/rustc-dev-guide#1097)
    - fix typos and formatting
    - Say "bootstrap" instead of "rustbuild"; the latter is not explained anywhere and is not much more clear.
    - Rewrite the section on passing flags to subcommands
    - Remove the diagram of all outputs generated by x.py
    - "symbol names" => ABI
    - Add symbol-addition to the how-to for new features (rust-lang/rustc-dev-guide#1457)
    - Fix typo (rust-lang/rustc-dev-guide#1459)
    - Document multipart_suggestion derive on SessionSubdiagnostic
    - Add reference for updating Windows PATH and fix typo
    - Update for removal of RLS (rust-lang/rustc-dev-guide#1450)
    
    ## embedded-book
    
    1 commits in befe6840874311635c417cf731377f07234ee373..4ce51cb7441a6f02b5bf9b07b2eb755c21ab7954
    2022-07-25 07:51:14 +0000 to 2022-09-15 08:53:09 +0000
    - Create CITATION.bib (as per rust-embedded/book#327)  (rust-embedded/book#329)
    matthiaskrgr authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    74d9336 View commit details
    Browse the repository at this point in the history