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

Merged
merged 15 commits into from
Apr 16, 2022
Merged

Rollup of 7 pull requests #96117

merged 15 commits into from
Apr 16, 2022

Commits on Apr 10, 2022

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

Commits on Apr 13, 2022

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

Commits on Apr 14, 2022

  1. docs: add link from zip to unzip

    The docs for `Iterator::unzip` explain that it is kind of an inverse operation to `Iterator::zip` and guide the reader to the `zip` docs, but the `zip` docs don't let the user know that they can undo the `zip` operation with `unzip`. This change modifies the docs to help the user find `unzip`.
    beyarkay authored Apr 14, 2022
    Configuration menu
    Copy the full SHA
    f6d9577 View commit details
    Browse the repository at this point in the history
  2. Remove trailing whitespace

    Co-authored-by: Mara Bos <[email protected]>
    beyarkay and m-ou-se authored Apr 14, 2022
    Configuration menu
    Copy the full SHA
    d73e328 View commit details
    Browse the repository at this point in the history
  3. ⬆️ rust-analyzer

    lnicola committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    1e78a47 View commit details
    Browse the repository at this point in the history
  4. update: actions/checkout@v2 to actions/checkout@v3

    update: actions/checkout@v2 to actions/checkout@v3 for all yaml files
    
    Revert "update: actions/checkout@v2 to actions/checkout@v3 for all yaml files"
    
    This reverts commit 7445e582b900f0f56f5f2bd9036aacab97ef28e9.
    
    change GitHub Actions version v2 to v3
    
    change GitHub Actions
    Gumichocopengin8 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    9d319f3 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. clarify doc(cfg) wording

    The current "This is supported" wording implies that it's possible to
    still use the item on other configurations, but in an unsupported way.
    Changing this to "Available" removes this ambiguity.
    euclio committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    753d567 View commit details
    Browse the repository at this point in the history
  2. Make some usize-typed masks definition agnostic to the size of usize

    Some masks where defined as
    ```rust
    const NONASCII_MASK: usize = 0x80808080_80808080u64 as usize;
    ```
    where it was assumed that `usize` is never wider than 64, which is currently true.
    
    To make those constants valid in a hypothetical 128-bit target, these constants have been redefined in an `usize`-width-agnostic way
    ```rust
    const NONASCII_MASK: usize = usize::from_ne_bytes([0x80; size_of::<usize>()]);
    ```
    
    There are already some cases where Rust anticipates the possibility of supporting 128-bit targets, such as not implementing `From<usize>` for `u64`.
    eduardosm committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    93ae6f8 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2022

  1. Rollup merge of rust-lang#95887 - petrochenkov:doclink5, r=cjgillot

    resolve: Create dummy bindings for all unresolved imports
    
    Apparently such bindings weren't previously created for all unresolved imports, causing issues like rust-lang#95879.
    In this PR I'm trying to create such dummy bindings in a more centralized way by calling `import_dummy_binding` once for all imports in `finalize_imports`.
    
    Fixes rust-lang#95879.
    Dylan-DPC authored Apr 16, 2022
    Configuration menu
    Copy the full SHA
    0a8acac View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#96023 - matthiaskrgr:clippyper1304, r=lcnr

    couple of clippy::perf fixes
    Dylan-DPC authored Apr 16, 2022
    Configuration menu
    Copy the full SHA
    91847c4 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#96035 - Gumichocopengin8:feature/update-git…

    …hub-action-version, r=pietroalbini
    
    Update GitHub Actions actions/checkout Version v2 -> v3
    
    Update `actions/checkout@v2` to `actions/checkout@v3` because of Node12 will be out of life after Aril 30, 2022 [[Reference](https://nodejs.org/en/about/releases/)].
    `actions/xxxx@v3` use Node16 whose support lasts until April 30, 2024.
    Dylan-DPC authored Apr 16, 2022
    Configuration menu
    Copy the full SHA
    ce30f5c View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#96038 - beyarkay:patch-1, r=m-ou-se

    docs: add link from zip to unzip
    
    The docs for `Iterator::unzip` explain that it is kind of an inverse operation to `Iterator::zip` and guide the reader to the `zip` docs, but the `zip` docs don't let the user know that they can undo the `zip` operation with `unzip`. This change modifies the docs to help the user find `unzip`.
    Dylan-DPC authored Apr 16, 2022
    Configuration menu
    Copy the full SHA
    bd007ba View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#96047 - lnicola:rust-analyzer-2022-04-14, r…

    …=lnicola
    
    ⬆️ rust-analyzer
    
    r? ``@ghost``
    Dylan-DPC authored Apr 16, 2022
    Configuration menu
    Copy the full SHA
    acd482b View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#96059 - euclio:doc-cfg, r=manishearth,guill…

    …aumegomez
    
    clarify doc(cfg) wording
    
    The current "This is supported" wording implies that it's possible to
    still use the item on other configurations, but in an unsupported way.
    Changing this to "Available" removes this ambiguity.
    Dylan-DPC authored Apr 16, 2022
    Configuration menu
    Copy the full SHA
    1bce78a View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#96081 - eduardosm:masks_usize_size_agnostic…

    …, r=yaahc
    
    Make some `usize`-typed masks definitions agnostic to the size of `usize`
    
    Some masks where defined as
    ```rust
    const NONASCII_MASK: usize = 0x80808080_80808080u64 as usize;
    ```
    where it was assumed that `usize` is never wider than 64, which is currently true.
    
    To make those constants valid in a hypothetical 128-bit target, these constants have been redefined in an `usize`-width-agnostic way
    ```rust
    const NONASCII_MASK: usize = usize::from_ne_bytes([0x80; size_of::<usize>()]);
    ```
    
    There are already some cases where Rust anticipates the possibility of supporting 128-bit targets, such as not implementing `From<usize>` for `u64`.
    Dylan-DPC authored Apr 16, 2022
    Configuration menu
    Copy the full SHA
    4ed7627 View commit details
    Browse the repository at this point in the history