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 6 pull requests #99177

Merged
merged 17 commits into from
Jul 12, 2022
Merged

Rollup of 6 pull requests #99177

merged 17 commits into from
Jul 12, 2022

Commits on Jul 6, 2022

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

Commits on Jul 8, 2022

  1. Configuration menu
    Copy the full SHA
    f165843 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9935796 View commit details
    Browse the repository at this point in the history
  3. Use map_bound

    jackh726 committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    ad9e1e3 View commit details
    Browse the repository at this point in the history
  4. Fix last let_chains blocker

    c410-f3r committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    1c3bab2 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. use PlaceRef::iter_projections to fix old FIXME

    I added this function in 53481a5
    rosefromthedead committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    d84f739 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    988e754 View commit details
    Browse the repository at this point in the history
  3. rustc_target: Flip the default for TargetOptions::executables to true

    Also change `executables` to true for linux-kernel and windows-uwp-gnu targets
    petrochenkov committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    8d9fdb7 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. Configuration menu
    Copy the full SHA
    e03cb7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f515af7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    349a3fc View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#98622 - petrochenkov:executables, r=oli-obk

    rustc_target: Flip the default for `TargetOptions::executables` to true
    
    This flag is true for most targets and the remaining targets may be mistakes.
    Dylan-DPC authored Jul 12, 2022
    Configuration menu
    Copy the full SHA
    7615366 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#98633 - c410-f3r:yet-another-let-chain, r=e…

    …stebank
    
    Fix last `let_chains` blocker
    
    In order to forbid things like `let x = (let y = 1);` or `if let a = 1 && { let x = let y = 1; } {}`, the parser **HAS** to know the context of `let`.
    
    This context thing is not a surprise in the parser because you can see **a lot** of ad hoc fixes mixing parsing logic with validation logic creating code that looks more like spaghetti with tomato sauce.
    
    To make things even greater, a new ad hoc fix was added to only allow `let`s in a valid `let_chains` context by checking the previously processed token. This was the only solution I could think of and believe me, I thought about it for a long time 👍
    
    In the long term, it should be preferable to segregate different responsibilities or create a more robust and cleaner parser framework.
    
    cc rust-lang#94927
    cc rust-lang#53667
    Dylan-DPC authored Jul 12, 2022
    Configuration menu
    Copy the full SHA
    9997c51 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#98972 - TaKO8Ki:suggest-adding-missing-zero…

    …-to-floating-point-number, r=compiler-errors
    
    Suggest adding a missing zero to a floating point number
    
    fixes rust-lang#98836
    Dylan-DPC authored Jul 12, 2022
    Configuration menu
    Copy the full SHA
    99fc65b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#99038 - jackh726:earlybinder-cleanup, r=lcnr

    Some more `EarlyBinder` cleanups
    
    First commit has a couple unrelated cleanups, but otherwise each commit is self-explanatory
    
    r? rust-lang/types
    Dylan-DPC authored Jul 12, 2022
    Configuration menu
    Copy the full SHA
    c0bcbe8 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#99154 - rosehuds:master, r=cjgillot

    use PlaceRef::iter_projections to fix old FIXME
    
    I added this function in 53481a5
    Dylan-DPC authored Jul 12, 2022
    Configuration menu
    Copy the full SHA
    01c2421 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#99171 - GuillaumeGomez:rustdoc-ui-test-rege…

    …x, r=Dylan-DPC
    
    Put back UI test regex
    
    I just realized I overwrote these two commits in rust-lang#99055 when force pushing to fix the stdout output...
    
    r? `@Dylan-DPC`
    Dylan-DPC authored Jul 12, 2022
    Configuration menu
    Copy the full SHA
    87e25e4 View commit details
    Browse the repository at this point in the history