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

Closed
wants to merge 24 commits into from

Commits on Sep 20, 2022

  1. Remove RtlGenRandom (take two)

    First try to use the system preferred RNG but if that fails (e.g. due to a broken system configuration) then fallback to manually opening an algorithm handle.
    ChrisDenton committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    8ca6a27 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2022

  1. errors: add emit_note/create_note

    Add `Noted` marker struct that implements `EmissionGuarantee` so that
    `emit_note` and `create_note` can be implemented for struct diagnostics.
    
    Signed-off-by: David Wood <david.wood@huawei.com>
    davidtwco committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    055522f View commit details
    Browse the repository at this point in the history
  2. errors: implement IntoDiagnosticArg for &T

    Implement `IntoDiagnosticArg` for `&'a T` when `T` implements
    `IntoDiagnosticArg` and `Clone`. Makes it easier to write diagnostic
    structs that borrow something which implements `IntoDiagnosticArg`.
    
    Signed-off-by: David Wood <david.wood@huawei.com>
    davidtwco committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    6d22d4c View commit details
    Browse the repository at this point in the history
  3. session: impl IntoDiagnosticArg for CrateType

    Forward the `Display` implementation for `CrateType` to
    `IntoDiagnosticArg` so that it can be used in diagnostic structs.
    
    Signed-off-by: David Wood <david.wood@huawei.com>
    davidtwco committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    904c18c View commit details
    Browse the repository at this point in the history
  4. errors: impl IntoDiagnosticArg for TargetTriple

    Forward the `Display` implementation for `CrateType` to
    `IntoDiagnosticArg` so that it can be used in diagnostic structs.
    
    Signed-off-by: David Wood <david.wood@huawei.com>
    davidtwco committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    3f1bed0 View commit details
    Browse the repository at this point in the history
  5. session: diagnostic migration lint on more fns

    Apply the diagnostic migration lint to more functions on `Session`.
    
    Signed-off-by: David Wood <david.wood@huawei.com>
    davidtwco committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    37ba250 View commit details
    Browse the repository at this point in the history
  6. incremental: migrate diagnostics

    Migrate the `rustc_incremental` crate's diagnostics to translatable
    diagnostic structs.
    
    Signed-off-by: David Wood <david.wood@huawei.com>
    davidtwco committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    c65e3e3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    79c665b View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2022

  1. Configuration menu
    Copy the full SHA
    7ed999b View commit details
    Browse the repository at this point in the history
  2. Add llvm-dis to the set of tools in ci-llvm

    The LLVM disassembler is needed for the test introduced in
    rust-lang#97550.
    
    Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
    ojeda committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    cb8a9c4 View commit details
    Browse the repository at this point in the history
  3. Update doc after renaming fn is_zero

    `fn is_zero` has been renamed to `fn count_is_zero` in
    1b1bf24.
    This patch updates the documentation accordingly.
    flba-eb committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    8eeeac6 View commit details
    Browse the repository at this point in the history
  4. rustdoc: CSS prevent sidebar width change jank

    This commit makes the `width` and `min-width` of the sidebar the same. They
    originally were when cad0fce added the
    `min-width` rule, but 6a5f8b1 changed the
    width without changing the `min-width`, causing it to sometimes oscilate
    between 200 and 250 pixels depending on the main content.
    notriddle committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    ee8e0bd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e3cb0a8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a4046e9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d30cb5b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cd48154 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#100754 - davidtwco:translation-incremental,…

    … r=compiler-errors
    
    incremental: migrate diagnostics
    
    - Apply the diagnostic migration lints to more functions on `Session`, namely: `span_warn`, `span_warn_with_code`, `warn` `note_without_error`, `span_note_without_error`, `struct_note_without_error`.
    - Add impls of `IntoDiagnosticArg` for `std::io::Error`, `std::path::Path` and `std::path::PathBuf`.
    - Migrate the `rustc_incremental` crate's diagnostics to translatable diagnostic structs.
    
    r? ``@compiler-errors``
    cc rust-lang#100717
    matthiaskrgr committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    3618ccf View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#102044 - ChrisDenton:BCrypt-system-rand, r=…

    …thomcc
    
    Remove `RtlGenRandom` (take two)
    
    First try to use the system preferred RNG but if that fails (e.g. due to a broken system configuration) then fallback to manually opening an algorithm handle.
    matthiaskrgr committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    48a309a View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#102146 - notriddle:notriddle/sidebar-jank, …

    …r=GuillaumeGomez
    
    rustdoc: CSS prevent sidebar width change jank
    
    This commit makes the `width` and `min-width` of the sidebar the same. They originally were when cad0fce added the `min-width` rule, but 6a5f8b1 changed the `width` without changing the `min-width`, causing it to sometimes oscilate between 200 and 250 pixels depending on the main content.
    
    # Before
    
    [Screencast from 09-22-2022 10:25:29 AM.webm](https://user-images.githubusercontent.com/1593513/191813469-ea00f30f-6f49-40fc-9a26-e1dfd5068d2b.webm)
    
    # After
    
    [Screencast from 09-22-2022 10:32:20 AM.webm](https://user-images.githubusercontent.com/1593513/191813642-ae0902da-5262-403a-bbdf-995334201acb.webm)
    matthiaskrgr committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    1333c49 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#102152 - compiler-errors:issue-102140, r=fe…

    …e1-dead
    
    Calculate `ProjectionTy::trait_def_id` for return-position `impl Trait` in trait correctly
    
    Fixes rust-lang#102140
    matthiaskrgr committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    e17541b View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#102175 - oli-obk:miri_subtree_cleanup, r=jy…

    …n514
    
    Also require other subtrees to always build successfully
    
    r? `@jyn514`
    matthiaskrgr committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    ee2e709 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#102176 - ojeda:add-llvm-dis-to-ci-llvm, r=M…

    …ark-Simulacrum
    
    Add `llvm-dis` to the set of tools in `ci-llvm`
    
    The LLVM disassembler is needed for the test introduced in rust-lang#97550.
    
    Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
    matthiaskrgr committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    53925e6 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#102188 - flba-eb:doc_missed_at_rename, r=jy…

    …n514
    
    Update doc after renaming `fn is_zero`
    
    `fn is_zero` has been renamed to `fn count_is_zero` in 1b1bf24.
    This patch updates the documentation accordingly.
    matthiaskrgr committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    b55a6ba View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#102199 - GuillaumeGomez:improve-rustdoc-gui…

    …-tests, r=notriddle
    
    Improve rustdoc GUI tests
    
    I finally finished the update so we can now store values in variables and use them. It improves things nicely.
    
    r? `@notriddle`
    matthiaskrgr committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    3566166 View commit details
    Browse the repository at this point in the history