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 8 pull requests #100048

Merged
merged 19 commits into from
Aug 2, 2022
Merged

Rollup of 8 pull requests #100048

merged 19 commits into from
Aug 2, 2022

Commits on Jul 6, 2022

  1. Configuration menu
    Copy the full SHA
    4387e4b View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Configuration menu
    Copy the full SHA
    bf18310 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

  1. Configuration menu
    Copy the full SHA
    42c14ab View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Configuration menu
    Copy the full SHA
    51e658f View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. Configuration menu
    Copy the full SHA
    9903f41 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

  1. Configuration menu
    Copy the full SHA
    6be7a87 View commit details
    Browse the repository at this point in the history
  2. kmc-solid: Adapt to a recent change in the IntoInner impl of `Socke…

    …tAddr`
    
    `(x: SocketAddr).into_inner()` evaluates to `(SocketAddrCRepr,
    socklen_t)` instead of `(*const sockaddr, socklen_t)` as of
    commit 55e23db.
    kawadakk committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    bfbda81 View commit details
    Browse the repository at this point in the history
  3. add comment

    jo3bingham committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    c5d661a View commit details
    Browse the repository at this point in the history
  4. Update rustc man page to match rustc --help

    This brings the `--crate-type`,  `--emit`, and `--print` options' allowed arguments into sync with that printed by `rustc --help`.
    fw-immunant authored Aug 1, 2022
    Configuration menu
    Copy the full SHA
    9864db6 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Update books

    ehuss committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    1bdb0ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3c2d55 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#99156 - lcnr:omoe-wa, r=wesleywiser

    `codegen_fulfill_obligation` expect erased regions
    
    it's a query, so by erasing regions before calling it, we get better caching.
    This doesn't actually change anything as its already the status quo.
    matthiaskrgr authored Aug 2, 2022
    Configuration menu
    Copy the full SHA
    0629445 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#99293 - jo3bingham:issue-98720-fix, r=jyn514

    only run --all-targets in stage0 for Std
    
    Repro'd the issue with `python3 x.py check --stage 1 library/std` and tested the fix with the same command.
    
    r? `@jyn514`
    
    I tried to implement [this solution](rust-lang#98720 (comment)), but didn't have any luck. I don't think I fully understood what needed to be done. However, I would love to be mentored on it since it would be a more correct solution, and I can learn more about how bootstrap works.
    matthiaskrgr authored Aug 2, 2022
    Configuration menu
    Copy the full SHA
    3357470 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#99779 - GuillaumeGomez:fix-item-info-pos-an…

    …d-height, r=notriddle
    
    Fix item info pos and height
    
    Fixes rust-lang#98266.
    Fixes rust-lang#98343.
    
    You can test it [here](https://rustdoc.crud.net/imperio/fix-item-info-pos-and-height/lib2/trait.Trait.html).
    
    Here is a screenshot of the result:
    
    ![Screenshot from 2022-07-26 21-55-53](https://user-images.githubusercontent.com/3050060/181100624-18b8b045-5c25-4c7c-9c44-97d55d29b675.png)
    
    r? `@jsha`
    matthiaskrgr authored Aug 2, 2022
    Configuration menu
    Copy the full SHA
    9690852 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#99994 - TaKO8Ki:remove-guess-head-span, r=f…

    …ee1-dead
    
    Remove `guess_head_span`
    
    follow-up to rust-lang#98519
    matthiaskrgr authored Aug 2, 2022
    Configuration menu
    Copy the full SHA
    17f76a1 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#100011 - compiler-errors:let-chain-restrict…

    …ion, r=fee1-dead
    
    Use Parser's `restrictions` instead of `let_expr_allowed`
    
    This also means that the `ALLOW_LET` flag is reset properly for subexpressions, so we can properly deny things like `a && (b && let c = d)`. Also the parser is a tiny bit smaller now.
    
    It doesn't reject _all_ bad `let` expr usages, just a bit more.
    
    cc `@c410-f3r`
    matthiaskrgr authored Aug 2, 2022
    Configuration menu
    Copy the full SHA
    beb4cdd View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#100017 - solid-rs:patch/kmc-solid/adapt-to-…

    …78802, r=thomcc
    
    kmc-solid: Update `Socket::connect_timeout` to be in line with rust-lang#78802
    
    Fixes the build failure of the [`*-kmc-solid_*`](https://doc.rust-lang.org/nightly/rustc/platform-support/kmc-solid.html) Tier 3 targets after rust-lang#78802.
    
    ```
    error[E0308]: mismatched types
       --> library\std\src\sys\solid\net.rs:234:45
        |
    234 |             cvt(netc::connect(self.0.raw(), addrp, len))
        |                 -------------               ^^^^^ expected *-ptr, found union `SocketAddrCRepr`
        |                 |
        |                 arguments to this function are incorrect
        |
        = note: expected raw pointer `*const sockets::sockaddr`
                         found union `SocketAddrCRepr`
    note: function defined here
       --> library\std\src\sys\solid\abi\sockets.rs:173:12
        |
        173 |     pub fn connect(s: c_int, name: *const sockaddr, namelen: socklen_t) -> c_int;
        |            ^^^^^^^
    ```
    matthiaskrgr authored Aug 2, 2022
    Configuration menu
    Copy the full SHA
    042bba7 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#100037 - fw-immunant:patch-1, r=jyn514

    Update rustc man page to match `rustc --help`
    
    This brings the `--crate-type`,  `--emit`, and `--print` options' allowed arguments into sync with that printed by `rustc --help`.
    
    c.f. the `opt::multi_s` calls for `"crate-type"`, `"emit"`, and `"print"` here: https://github.com/rust-lang/rust/blob/master/compiler/rustc_session/src/config.rs
    matthiaskrgr authored Aug 2, 2022
    Configuration menu
    Copy the full SHA
    703ee5c View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#100042 - ehuss:update-books, r=ehuss

    Update books
    
    ## reference
    
    2 commits in a92be0fef439b3d8e0468d82cb24812d303520a0..f3d3953bf3b158d596c96d55ce5366f9f3f972e9
    2022-07-21 19:01:23 -0700 to 2022-08-01 17:17:37 -0700
    - Add `let_chains` references (rust-lang/reference#1179)
    - Remove outdated warning (rust-lang/reference#1243)
    
    ## rust-by-example
    
    18 commits in 3155db49b0d57cd82c65456ac210b69ecec5ccb1..ee342dc91e1ba1bb1e1f1318f84bbe3bfac04798
    2022-07-05 20:35:53 -0300 to 2022-07-27 11:06:36 -0300
    - Closure inferred twice (rust-lang/rust-by-example#1588)
    - fix a syntax bug in example assembly (rust-lang/rust-by-example#1511)
    - Minor grammar change in src/std/rc.md paragraph 2 (rust-lang/rust-by-example#1586)
    - Fix typo in asm.md (rust-lang/rust-by-example#1585)
    - Fix incorrect padding in fixed-width print (rust-lang/rust-by-example#1584)
    - Update print.md (rust-lang/rust-by-example#1582)
    - add-chapter-on-defaults (rust-lang/rust-by-example#1580)
    - Fix typo (rust-lang/rust-by-example#1579)
    - fix a compile error (rust-lang/rust-by-example#1578)
    - Suggest using mod.rs pattern to share test code (rust-lang/rust-by-example#1577)
    - fix a compile error in iter_any.md (rust-lang/rust-by-example#1576)
    - Mention attribute like macros in attributes.md (rust-lang/rust-by-example#1574)
    - Update exercise to be clearer (rust-lang/rust-by-example#1573)
    - fixes link for turbofish in testcase_mapreduce.md (rust-lang/rust-by-example#1572)
    - Fix inconsistency between comment and code in hello/print.md (rust-lang/rust-by-example#1571)
    - Fixes a typo in print.md (rust-lang/rust-by-example#1570)
    - into_iter-moves-elements (rust-lang/rust-by-example#1569)
    - Fix a typo in print.md (rust-lang/rust-by-example#1568)
    
    ## rustc-dev-guide
    
    16 commits in d5201cddace979b299ec1bf9fd8997338151aa9d..04f3cf0bb2f5a6ee2bfc4b1a6a6cd8c11d1c5531
    2022-07-21 04:48:49 +0200 to 2022-07-31 07:46:57 +0200
    - address review comment
    - accept review suggestion
    - try address review comments
    - summary of chapter
    - Update src/building/compiler-documenting.md
    - revamp doc-build chapter
    - minor fixes
    - Prefer relative links
    - Fix the link to clippy docs
    - Fix the link to `ResolverAstLowering`
    - Fix the link to `ProcMacro` trait
    - Fix the link to `Lazy<T>`
    - Add instructions to fix build errors in std after adding a new target
    - Document how to build a cross-compiler
    - Add documentation about Microsoft provided debuggers and CodeView/PDB… (rust-lang/rustc-dev-guide#1406)
    - rust-analyzer is now a subtree
    
    ## embedded-book
    
    2 commits in 766979590da8100998f0d662499d4a901d8d1640..befe6840874311635c417cf731377f07234ee373
    2022-07-04 09:13:58 +0000 to 2022-07-25 07:51:14 +0000
    - Updated instructions for running first Hardware example  (rust-embedded/book#323)
    - Improved ligability for hardware.md  (rust-embedded/book#324)
    matthiaskrgr authored Aug 2, 2022
    Configuration menu
    Copy the full SHA
    6ab19fd View commit details
    Browse the repository at this point in the history