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

Closed
wants to merge 23 commits into from

Commits on Mar 18, 2024

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

Commits on Mar 22, 2024

  1. fix(bootstrap/dist): use versioned dirs when vendoring

    Currently, if you attempt to run ui tests in a vendored build, you will
    see this failure
    
    ```
    ---- [ui] tests/ui/issues/issue-21763.rs stdout ----
    diff of stderr:
    
    8          = note: required because it appears within the type `(Rc<()>, Rc<()>)`
    9          = note: required for `hashbrown::raw::RawTable<(Rc<()>, Rc<()>)>` to implement `Send`
    10      note: required because it appears within the type `hashbrown::map::HashMap<Rc<()>, Rc<()>, RandomState>`
    -         --> $HASHBROWN_SRC_LOCATION
    +         --> /rust/deps/hashbrown/src/map.rs:190:12
    12      note: required because it appears within the type `HashMap<Rc<()>, Rc<()>>`
    13        --> $SRC_DIR/std/src/collections/hash/map.rs:LL:COL
    14      note: required by a bound in `foo`
    ```
    
    This happend because the code that attempts to remap
    `HASHBROWN_SRC_LOCATION` expects it to be under `hashbrown-$version`,
    which is the case in a normal cargo registry, but not when vendor, where
    by default crates may not have the version in their directory name.
    
    This change passes `--versioned-dirs` to `cargo vendor` to enforce that
    every crate includes the version in the subdir name, which fixes the ui
    test and brings `--enable-vendor` builds closer to normal ones.
    lovesegfault committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    25d0601 View commit details
    Browse the repository at this point in the history
  2. Update stdarch submodule

    dpaoliello committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    9685161 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

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

Commits on Mar 24, 2024

  1. Configuration menu
    Copy the full SHA
    8dc10da View commit details
    Browse the repository at this point in the history
  2. Amended wording

    reedwoodruff committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    58e2ad3 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. In pretty_print_type(), print async fn futures' paths instead of …

    …spans.
    
    This makes `-Zprint-type-sizes`'s output easier to read, because the
    name of an `async fn` is more immediately recognizable than its span.
    
    I also deleted the comment "FIXME(eddyb) should use `def_span`." because
    it appears to have already been fixed by commit 67727aa.
    kpreid committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    3010fa9 View commit details
    Browse the repository at this point in the history
  2. Update books

    rustbot committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    95f268e View commit details
    Browse the repository at this point in the history
  3. Instance is Copy

    compiler-errors committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    99fbc6f View commit details
    Browse the repository at this point in the history
  4. extend doc comment for reachability set computation

    also extend the const fn reachability test
    RalfJung committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    d94f657 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5f95fc1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6fe5555 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a3c2d75 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#122707 - reedwoodruff:string_docs_typo, r=w…

    …orkingjubilee
    
    Fix a typo in the alloc::string::String docs
    workingjubilee committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    bc72b25 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#122769 - RalfJung:reachable, r=tmiasko

    extend comments for reachability set computation
    
    I hope this is right. :) Please review carefully.
    
    r? `@tmiasko`
    Cc `@oli-obk` `@saethlin`
    workingjubilee committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    2532622 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#122892 - lovesegfault:versioned-vendor, r=o…

    …nur-ozkan
    
    fix(bootstrap/dist): use versioned dirs when vendoring
    
    Currently, if you attempt to run ui tests in a vendored build, you will
    see this failure
    
    ```
    ---- [ui] tests/ui/issues/issue-21763.rs stdout ----
    diff of stderr:
    
    8          = note: required because it appears within the type `(Rc<()>, Rc<()>)`
    9          = note: required for `hashbrown::raw::RawTable<(Rc<()>, Rc<()>)>` to implement `Send`
    10      note: required because it appears within the type `hashbrown::map::HashMap<Rc<()>, Rc<()>, RandomState>`
    -         --> $HASHBROWN_SRC_LOCATION
    +         --> /rust/deps/hashbrown/src/map.rs:190:12
    12      note: required because it appears within the type `HashMap<Rc<()>, Rc<()>>`
    13        --> $SRC_DIR/std/src/collections/hash/map.rs:LL:COL
    14      note: required by a bound in `foo`
    ```
    
    This happens because the code that attempts to remap
    `HASHBROWN_SRC_LOCATION` expects it to be under `hashbrown-$version`,
    which is the case in a normal cargo registry, but not when vendoring, where
    by default crates may not have the version in their directory name.
    
    This change passes `--versioned-dirs` to `cargo vendor` to enforce that
    every crate includes the version in the subdir name, which fixes the ui
    test and brings `--enable-vendor` builds closer to normal ones.
    workingjubilee committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    329c63b View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#122896 - dpaoliello:stdarch, r=Amanieu

    Update stdarch submodule
    
    r? ``@Amanieu``
    workingjubilee committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    a62c655 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#122923 - kpreid:print-async-def, r=compiler…

    …-errors
    
    In `pretty_print_type()`, print `async fn` futures' paths instead of spans.
    
    This makes `-Zprint-type-sizes`'s output easier to read, because the name of an `async fn` is more immediately recognizable than its span. This change will also synergize with my other `-Zprint-type-sizes` PR rust-lang#122922 which prints the type of child futures being awaited.
    
    I also deleted the comment "FIXME(eddyb) should use `def_span`." because it appears to have already been fixed by commit 67727aa.
    workingjubilee committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    d813c2d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e8c9042 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0aa8ed8 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#123039 - rustbot:docs-update, r=ehuss

    Update books
    
    ## rust-lang/edition-guide
    
    1 commits in e1eead1181a691e56299294d5f1d62fe7a26d317..98b33e9a441457b0a491fe1be90e7de64eafc3e5
    2024-03-23 14:17:26 UTC to 2024-03-23 14:17:26 UTC
    
    - remove indication that C string literals don't exist yet (rust-lang/edition-guide#295)
    
    ## rust-lang/reference
    
    4 commits in 5afb503a4c1ea3c84370f8f4c08a1cddd1cdf6ad..984b36eca4b9293df04d5ba4eb5c4f77db0f51dc
    2024-03-25 14:05:19 UTC to 2024-03-19 20:01:14 UTC
    
    - Fix typo of shebang (rust-lang/reference#1486)
    - Document importing `main` (rust-lang/reference#1461)
    - add grammar for `associated_type_bounds` in reference (rust-lang/reference#1481)
    - Literal expressions: fix mistake in the definition of unicode escapes (rust-lang/reference#1483)
    
    ## rust-lang/rust-by-example
    
    1 commits in e093099709456e6fd74fecd2505fdf49a2471c10..7601e0c5ad29d5bd3b518700ea63fddfff5915a7
    2024-03-17 21:37:25 UTC to 2024-03-17 21:37:25 UTC
    
    - Update enum_use.md to use a more neutral theme (rust-lang/rust-by-example#1828)
    
    ## rust-lang/rustc-dev-guide
    
    12 commits in 8a5d647f19b08998612146b1cb2ca47083db63e0..ffa246b7fd95a96e1cd54883e613aed42c32547d
    2024-03-23 07:44:42 UTC to 2024-03-11 18:17:28 UTC
    
    - [MCP 723] Rename AstConv to HIR ty lowering (rust-lang/rustc-dev-guide#1916)
    - add chapter to summary (rust-lang/rustc-dev-guide#1947)
    - document difference between solvers + new solver normalization (rust-lang/rustc-dev-guide#1945)
    - Fix broken link in chapter '1. How to build and run the compiler' (rust-lang/rustc-dev-guide#1946)
    - typo (rust-lang/rustc-dev-guide#1944)
    - Reflect rustc_codegen_cranelift move (rust-lang/rustc-dev-guide#1941)
    - Update rustdoc-internals.md (rust-lang/rustc-dev-guide#1911)
    - Update test-implementation.md (rust-lang/rustc-dev-guide#1937)
    - Extract Bootstrap into its own section (rust-lang/rustc-dev-guide#1939)
    - typos (rust-lang/rustc-dev-guide#1938)
    - More updates for recent diagnostics changes. (rust-lang/rustc-dev-guide#1936)
    - Update bibliography.md (rust-lang/rustc-dev-guide#1912)
    workingjubilee committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    1ba8e45 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#123044 - compiler-errors:instance, r=oli-obk

    `Instance` is `Copy`
    
    No reason to take it by value; it was confusing `@rcvalle` to see it being mutated when it's also being passed by ref in some places.
    workingjubilee committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    2f3bfa6 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#123051 - matthiaskrgr:casetest, r=workingju…

    …bilee
    
    did I mention that tests are super cool?
    
    Fixes rust-lang#81974
    Fixes rust-lang#84727
    Fixes rust-lang#92979
    workingjubilee committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    ed871e2 View commit details
    Browse the repository at this point in the history