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

Closed
wants to merge 38 commits into from

Commits on Dec 10, 2022

  1. Fix process-panic-after-fork.rs to pass on newer versions of Android.

    The test process-panic-after-fork.rs was checking that abort() resulted
    in SIGSEGV on Android. This non-standard behavior was fixed back in 2013,
    so let's fix the test to also accept the standard behavior on Android.
    pcc committed Dec 10, 2022
    Configuration menu
    Copy the full SHA
    9553a4d View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2022

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

Commits on Dec 28, 2022

  1. Configuration menu
    Copy the full SHA
    82cf6f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78796ba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d41112a View commit details
    Browse the repository at this point in the history
  4. [WIP] UPDATE - migrate intrinsic.rs to new diagnostic infrastructure

    WIP - replacing span_invalid_monomorphization_error function. Still in progress due to its use in codegen_llvm inside macros
    JhonnyBillM committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    e26366a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d1030fa View commit details
    Browse the repository at this point in the history
  6. ADD - create and emit Bug support for Diagnostics

    UPDATE - migrate constant span_bug to translatable diagnostic.
    JhonnyBillM committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    2774446 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    29d8c87 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4d63d7d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8360a40 View commit details
    Browse the repository at this point in the history
  10. Migrate placeholder_error.rs

    IntQuant committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    2118ff4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3935a81 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0634b01 View commit details
    Browse the repository at this point in the history
  13. Rebase and fix

    IntQuant committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    57fdd19 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6c19c08 View commit details
    Browse the repository at this point in the history
  15. Split into several messages

    IntQuant committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    71d24da View commit details
    Browse the repository at this point in the history
  16. Use eager translation

    IntQuant committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    eb7ce17 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    40b2218 View commit details
    Browse the repository at this point in the history
  18. Address changes of pr 103345

    IntQuant committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    19b8579 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7ecd064 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    62f9962 View commit details
    Browse the repository at this point in the history
  21. Fix nits

    IntQuant committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    a861737 View commit details
    Browse the repository at this point in the history
  22. Fix broken rebase

    IntQuant committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    dda3eba View commit details
    Browse the repository at this point in the history
  23. Fix formatting

    IntQuant committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    2a8b17d View commit details
    Browse the repository at this point in the history
  24. eager is the default now

    IntQuant committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    0c50e1f View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

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

Commits on Jan 7, 2023

  1. Configuration menu
    Copy the full SHA
    43bec83 View commit details
    Browse the repository at this point in the history
  2. rustdoc: remove no-op mobile CSS .content { margin-left: 0 }

    This rule was added to override non-zero left margin on `.content`,
    which was removed in 135281e and
    the margin-left was put on the docblock.
    notriddle committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    a7ac923 View commit details
    Browse the repository at this point in the history
  3. Add regression test for rust-lang#100772

    Signed-off-by: Yuki Okushi <jtitor@2k36.org>
    JohnTitor committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    ce32867 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#101936 - IntQuant:issue-100717-infer-4, r=c…

    …ompiler-errors
    
    Migrating rustc_infer to session diagnostics (part 3)
    
    `@rustbot` label +A-translation
    r? rust-lang/diagnostics
    cc rust-lang#100717
    
    Seems like a part of static_impl_trait.rs emits suggestions in a loop, and note.rs needs to have two instances of the same subdiagnostic, so these will need to wait until we have eager translation/list support.
    Other than that, there is only error_reporting/mod.rs left to migrate.
    matthiaskrgr committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    1d3ab79 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#104543 - JhonnyBillM:migrate-codegen-ssa-to…

    …-diagnostics-structs-pt3, r=davidtwco
    
    Migrate `codegen_ssa` to diagnostics structs - [Part 3]
    
    Completes migrating `codegen_ssa` module except 2 outstanding errors that depend on other crates:
    1. [`rustc_middle::mir::interpret::InterpError`](https://github.com/rust-lang/rust/blob/b6097f2e1b2ca62e188ba53cf43bd66b06b36915/compiler/rustc_middle/src/mir/interpret/error.rs#L475): I saw `rustc_middle` is unassigned, I am open to take this work.
    
    2.  `codegen_llvm`'s use of `fn span_invalid_monomorphization_error`, which I started to replace in the [last commit](rust-lang@9a31b3c) of this PR, but would like to know the team's preference on how we should keep replacing the other macros:
    2.1. Update macros to expect a `Diagnostic`
    2.2. Remove macros and expand the code on each use.
    See [some examples of the different options in this experimental commit](JhonnyBillM@64aee83)
    
    _Part 2 - https://github.com/rust-lang/rust/pull/103792_
    
    r? `@davidtwco`
    Cc `@compiler-errors`
    matthiaskrgr committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    59e3b36 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#105517 - pcc:process-panic-after-fork, r=da…

    …vidtwco
    
    Fix process-panic-after-fork.rs to pass on newer versions of Android.
    
    The test process-panic-after-fork.rs was checking that abort() resulted in SIGSEGV on Android. This non-standard behavior was fixed back in 2013, so let's fix the test to also accept the standard behavior on Android.
    matthiaskrgr committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    4239e54 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#105859 - compiler-errors:hr-lifetime-add, r…

    …=davidtwco
    
    Point out span where we could introduce higher-ranked lifetime
    
    Somewhat addresses rust-lang#105422, but not really. We don't have that much useful information here since we're still in resolution :^(
    
    Maybe this suggestion isn't worth it. If the reviewer has an idea how we can get a more succinct binder information for a structured suggestion, it would be appreciated.
    matthiaskrgr committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    58a2367 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#106495 - JohnTitor:issue-100772, r=compiler…

    …-errors
    
    Add regression test for rust-lang#100772
    
    Closes rust-lang#100772
    r? `@compiler-errors`
    Signed-off-by: Yuki Okushi <jtitor@2k36.org>
    matthiaskrgr committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    1730aa2 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#106509 - estebank:closure-in-block, r=david…

    …twco
    
    Detect closures assigned to binding in block
    
    Fix rust-lang#58497.
    matthiaskrgr committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    07a47a3 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#106553 - Ezrashaw:fix-hashset-doctest, r=Jo…

    …hnTitor
    
    docs: make `HashSet::retain` doctest more clear
    
    Fixes rust-lang#106535
    
    Extremely simple fix suggested by `@compiler-errors` in the linked issue.
    matthiaskrgr committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    e33c22c View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#106556 - notriddle:notriddle/margin-left-co…

    …ntent-mobile, r=GuillaumeGomez
    
    rustdoc: remove no-op mobile CSS `.content { margin-left: 0 }`
    
    This rule was added to override non-zero left margin on `.content`, which was removed in 135281e and the margin-left was put on the docblock.
    matthiaskrgr committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    9639646 View commit details
    Browse the repository at this point in the history