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

Merged
merged 17 commits into from
Mar 27, 2023
Merged

Rollup of 8 pull requests #109652

merged 17 commits into from
Mar 27, 2023

Commits on Jun 29, 2022

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

Commits on Sep 29, 2022

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

Commits on Mar 25, 2023

  1. Configuration menu
    Copy the full SHA
    5e49f09 View commit details
    Browse the repository at this point in the history
  2. fix type suggestions in match arms

    Lukas Markeffsky committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    08f3deb View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2023

  1. Configuration menu
    Copy the full SHA
    28982a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc9eec0 View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary raw pointer in __rust_start_panic arg

    It is no longer necessary as __rust_start_panic switched to the Rust abi.
    bjorn3 committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    b874502 View commit details
    Browse the repository at this point in the history
  4. debuginfo: Get pointer size/align from tcx.data_layout instead of lay…

    …out_of
    
    This avoids some type interning and a query execution. It also just
    makes the code simpler.
    Noratrieb committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    72c917d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1ce4b37 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Rollup merge of rust-lang#97506 - JohnTitor:stabilize-nonnull-slice-f…

    …rom-raw-parts, r=m-ou-se,the8472
    
    Stabilize `nonnull_slice_from_raw_parts`
    
    FCP is done: rust-lang#71941 (comment)
    Note that this doesn't const-stabilize `NonNull::slice_from_raw_parts` as `slice_from_raw_parts_mut` isn't const-stabilized yet. Given rust-lang#67456 and rust-lang#57349, it's not likely available soon, meanwhile, stabilizing only the feature makes some sense, I think.
    
    Closes rust-lang#71941
    matthiaskrgr committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    102bbbd View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#98651 - mattfbacon:master, r=ChrisDenton

    Follow C-RW-VALUE in std::io::Cursor example
    
    rustc-dev-guide says to do this:
    
    r? ``@steveklabnik``
    matthiaskrgr committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    fe0b042 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#102742 - bjorn3:cleanup_rust_start_panic, r…

    …=ChrisDenton
    
    Remove unnecessary raw pointer in __rust_start_panic arg
    
    It is no longer necessary as __rust_start_panic switched to the Rust abi.
    matthiaskrgr committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    704991c View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#109587 - cjgillot:no-hashmap-fingerprint, r…

    …=Nilstrieb
    
    Use an IndexVec to debug fingerprints.
    
    Uncontroversial part of rust-lang#109050
    matthiaskrgr committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    32aa4c0 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#109613 - lukas-code:match-str-to-char-sugge…

    …stion, r=compiler-errors
    
    fix type suggestions in match arms
    
    fix rust-lang#109586
    matthiaskrgr committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    04b8523 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#109633 - GuillaumeGomez:fix-go-to-only-sett…

    …ing, r=notriddle
    
    Fix "Directly go to item in search if there is only one result" setting
    
    Part of rust-lang#66181.
    
    The setting was actually broken, so I fixed it when I added the GUI test.
    
    r? `@notriddle`
    matthiaskrgr committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    b39db70 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#109635 - Nilstrieb:debrrruginfo, r=compiler…

    …=errors
    
    debuginfo: Get pointer size/align from tcx.data_layout instead of layout_of
    
    This avoids some type interning and a query execution. It also just makes the code simpler.
    matthiaskrgr committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    2b7dc94 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#109641 - compiler-errors:dont-elaborate-non…

    …-obl, r=oli-obk
    
    Don't elaborate non-obligations into obligations
    
    It's suspicious to elaborate a `PolyTraitRef` or `Predicate` into an `Obligation`, since the former does not have a param-env associated with it, but the latter does. This is a footgun that, while not being misused *currently* in the compiler, easily could be misused by someone less familiar with the elaborator's inner workings.
    
    This PR just changes the API -- ideally, the elaborator wouldn't even have to deal with obligations if we're not elaborating obligations, but that would require a bit more abstraction than I could be bothered with today.
    matthiaskrgr committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    6535e66 View commit details
    Browse the repository at this point in the history