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 7 pull requests #128461

Merged
merged 20 commits into from
Aug 1, 2024
Merged

Rollup of 7 pull requests #128461

merged 20 commits into from
Aug 1, 2024

Commits on Jul 26, 2024

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

Commits on Jul 29, 2024

  1. Small simplification

    Nadrieril committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    9e05fb6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2fd9aa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cbdacec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c747166 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    08bcc01 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Configuration menu
    Copy the full SHA
    f6f587e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34fcf92 View commit details
    Browse the repository at this point in the history
  3. Add VxWorks platfrom support documents

    B I Mohammed Abbas committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    62d4998 View commit details
    Browse the repository at this point in the history
  4. rustc_parser: consider the in 2024 an expression

    This commit is adding the possibility to parse the `_` as
    an expression inside the esition 2024.
    
    Link: https://rust-lang.zulipchat.com/#narrow/stream/404510-wg-macros/topic/supporting.20.60_.60.20expressions
    Co-authored-by: Eric Holk <eric@theincredibleholk.org>
    Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
    vincenzopalazzo and eholk committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    276fa19 View commit details
    Browse the repository at this point in the history
  5. tests: add the _ as expr test for cargo fix

    Co-authored-by: Eric Holk <eric@theincredibleholk.org>
    Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
    vincenzopalazzo and eholk committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    6b731c2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    83fb140 View commit details
    Browse the repository at this point in the history
  7. tweak comment on NonterminalKind::Expr

    Co-authored-by: Eric Holk <eric@theincredibleholk.org>
    compiler-errors and eholk committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    79ef91e View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#123813 - compiler-errors:redundant-lint, r=…

    …petrochenkov
    
    Add `REDUNDANT_IMPORTS` lint for new redundant import detection
    
    Defaults to Allow for now. Stacked on rust-lang#123744 to avoid merge conflict, but much easier to review all as one.
    
    r? petrochenkov
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    20379e4 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#126697 - vincenzopalazzo:macros/find_the_ex…

    …pression_tok, r=eholk,compiler-errors
    
    [RFC] mbe: consider the `_` in 2024 an expression
    
    This commit is adding the possibility to parse the `_` as an expression inside the esition 2024.
    
    Link: https://rust-lang.zulipchat.com/#narrow/stream/404510-wg-macros/topic/supporting.20.60_.60.20expressions
    
    Issue rust-lang#123742
    
    r? `@eholk`
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    3acd910 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#127159 - Nadrieril:hide-candidate, r=matthe…

    …wjasper
    
    match lowering: Hide `Candidate` from outside the lowering algorithm
    
    The internals of `Candidate` are tricky and a source of confusion. This PR makes it so we don't expose `Candidate`s outside the lowering algorithm. Now:
    - false edges are handled in `lower_match_tree`;
    - `lower_match_tree` takes a list of patterns as input;
    - `lower_match_tree` returns a flat datastructure that contains only the necessary information.
    
    r? ```@matthewjasper```
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    19f6ff0 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#128244 - compiler-errors:move-clone-sugg, r…

    …=estebank
    
    Peel off explicit (or implicit) deref before suggesting clone on move error in borrowck, remove some hacks
    
    Also remove a heck of a lot of weird hacks in `suggest_cloning` that I don't think we should have around.
    
    I know this regresses tests, but I don't believe most of these suggestions were accurate, b/c:
    1. They either produced type errors (e.g. turning `&x` into `x.clone()`)
    2. They don't fix the issue
    3. They fix the issue ostensibly, but introduce logic errors (e.g. cloning a `&mut Option<T>` to then `Option::take` out...)
    
    Most of the suggestions are still wrong, but they're not particularly *less* wrong IMO.
    
    Stacked on top of rust-lang#128241, which is an "obviously worth landing" subset of this PR.
    
    r? estebank
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    52f7d33 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#128431 - biabbas:master, r=Urgau

    Add myself as VxWorks target maintainer for reference
    
    Hi, would be working on VxWorks regularly, thus adding myself as a target maintainer.
    r? ```@workingjubilee```
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    1ef8a4c View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#128438 - Bryanskiy:empty-array-dropck, r=lcnr

    Add special-case for [T, 0] in dropck_outlives
    
    implements/fixes rust-lang#110288.
    
    r? `@lcnr`
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    b22c48e View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#128457 - juntyr:once-lock-docs, r=tgross35

    Fix docs for OnceLock::get_mut_or_init
    
    Removes an incorrect statment about concurrency from the `OnceLock::get_mut_or_init` (tracked in rust-lang#121641) docs.
    
    Fixes rust-lang#128429
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    7060a2f View commit details
    Browse the repository at this point in the history