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

Merged
merged 31 commits into from
Feb 16, 2023
Merged

Rollup of 10 pull requests #108096

merged 31 commits into from
Feb 16, 2023

Commits on Feb 13, 2023

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

Commits on Feb 14, 2023

  1. Configuration menu
    Copy the full SHA
    8fc5ba6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58e901b View commit details
    Browse the repository at this point in the history
  3. Port RefLongerThanData

    IntQuant committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    cb8ea01 View commit details
    Browse the repository at this point in the history
  4. Port another diagnostic

    IntQuant committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    35dbec3 View commit details
    Browse the repository at this point in the history
  5. Resolve rebase

    IntQuant committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    8d590dc View commit details
    Browse the repository at this point in the history
  6. Port WhereClauseSuggestions

    IntQuant committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    b8feb63 View commit details
    Browse the repository at this point in the history
  7. Make sure tests pass

    IntQuant committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    6fa4c7d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9f06c3d View commit details
    Browse the repository at this point in the history
  9. Port ConsiderAddingAwait

    IntQuant committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    fdbec62 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5c7afde View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    58939b9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3f80017 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. make x look for x.py if shell script does not exist

    bump up x version
    
    Refactor code
    zephaniahong committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    54cfc10 View commit details
    Browse the repository at this point in the history
  2. Use target instead of machine for mir interpreter integer handling.

    The naming of `machine` only makes sense from a mir interpreter internals perspective, but outside users talk about the `target` platform
    oli-obk committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    38b7cdf View commit details
    Browse the repository at this point in the history
  3. Use more let chain

    GuillaumeGomez committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    86fd5a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f4de121 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    de01ea2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    29621ba View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    15adc7b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4c2d48e View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#107034 - IntQuant:issue-100717-infer-5, r=o…

    …li-obk
    
    Migrating rustc_infer to session diagnostics (part 4)
    
    `@rustbot` label +A-translation
    r? rust-lang/diagnostics
    cc rust-lang#100717
    matthiaskrgr authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    1fdf0e1 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#107972 - saethlin:fix-test-ub, r=michaelwoe…

    …rister
    
    Fix unintentional UB in ui tests
    
    `@matthiaskrgr` found UB in a bunch of the ui tests. This PR fixes a batch of miscellaneous tests I didn't think needed reviewers from a particular part of the project.
    matthiaskrgr authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    d40c13a View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#108010 - compiler-errors:can_eq-returns-boo…

    …l, r=lcnr
    
    Make `InferCtxt::can_eq` and `InferCtxt::can_sub` return booleans
    
    Nobody matches on the result, nor does the result return anything useful...
    matthiaskrgr authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    8f65e25 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#108021 - zephaniahong:oldx, r=albertlarsan68

    make x look for x.py if shell script does not exist
    
    Fixes rust-lang#107907
    
    Manually tested by doing the following after changes were made:
    1. `cargo install --path src/tools/x`
    2. checked out old version:  commit hash `775c3c0` from rust-lang#99992
    3. Ran `x --help` and it works. Previously, it was giving the error `x.py not found`
    matthiaskrgr authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    32891e1 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#108047 - oli-obk:machine->🞋, r=RalfJung

    Use `target` instead of `machine` for mir interpreter integer handling.
    
    The naming of `machine` only makes sense from a mir interpreter internals perspective, but outside users talk about the `target` platform. As per rust-lang#108029 (comment)
    
    r? `@RalfJung`
    matthiaskrgr authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    31d7e51 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#108049 - clubby789:dont-suggest-unstable, r…

    …=compiler-errors
    
    Don't suggest `#[doc(hidden)]` trait methods with matching return type
    
    Fixes rust-lang#107983, addressing the bad suggestion.
    The test can probably be made more specific to this  case, but I'm unsure how.
    
    `@rustbot` label +A-diagnostics
    matthiaskrgr authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    897f56e View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#108066 - compiler-errors:better-labels-for-…

    …bad-impl-trait, r=petrochenkov
    
    Better names for illegal impl trait positions
    
    Just some wording tweaks, no behavior changes.
    matthiaskrgr authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    8259755 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#108076 - GuillaumeGomez:more-let-chain, r=n…

    …otriddle
    
    rustdoc: Use more let chain
    
    Got the idea after yesterday's review.
    
    r? `@notriddle`
    matthiaskrgr authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    09ab35b View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#108088 - callumio:issue-107957, r=dtolnay

    clarify correctness of `black_box`
    
    Resolves rust-lang#107957, as described in the related issue.
    
    No code changes, just documentation.
    matthiaskrgr authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    863cd15 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#108094 - kornelski:fsdocs, r=cuviper

    Demonstrate I/O in File examples
    
    I've noticed that some Rust novices unnecessarily reinvent `std::fs::{read,write}`, presumably because they search for equivalents of `fopen` + `fwrite`. I've added links to `std::fs::{read,write}` in the docs.
    
    The `File` examples were only showing how to open a file, but not how to use the opened handle, unnecessarily leaving out the next step. I've added a variety of different uses of file handles to their examples in docs.
    matthiaskrgr authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    5547101 View commit details
    Browse the repository at this point in the history