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

Closed
wants to merge 20 commits into from

Commits on Dec 16, 2021

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

Commits on Dec 17, 2021

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

Commits on Jan 19, 2022

  1. impl Display for io::ErrorKind

    This avoids having to convert from `ErrorKind` to `Error` just to print the error message.
    jyn514 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    f8ee57b View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. Configuration menu
    Copy the full SHA
    2bae730 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2e9ee90 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f24778 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2022

  1. Configuration menu
    Copy the full SHA
    1a77d62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b8f372 View commit details
    Browse the repository at this point in the history
  3. Write UI tests, tweak message

    5225225 committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    ec3b711 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c15ef58 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0363f11 View commit details
    Browse the repository at this point in the history
  6. Add FIXME comment

    FabianWolff committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    95344c0 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#91343 - FabianWolff:issue-91328-as-deref, r…

    …=jackh726
    
    Fix suggestion to slice if scrutinee is a `Result` or `Option`
    
    Fixes rust-lang#91328.
    matthiaskrgr authored Jan 31, 2022
    Configuration menu
    Copy the full SHA
    a937dd5 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#91828 - oxalica:feat/waker-getters, r=dtolnay

    Implement `RawWaker` and `Waker` getters for underlying pointers
    
    implement rust-lang#87021
    
    New APIs:
    - `RawWaker::data(&self) -> *const ()`
    - `RawWaker::vtable(&self) -> &'static RawWakerVTable`
    - ~`Waker::as_raw_waker(&self) -> &RawWaker`~ `Waker::as_raw(&self) -> &RawWaker`
    
    This third one is an auxiliary function to make the two APIs above more useful. Since we can only get `&Waker` in `Future::poll`, without this, we need to `transmute` it into `&RawWaker` (relying on `repr(transparent)`) in order to access its data/vtable pointers.
    
    ~Not sure if it should be named `as_raw` or `as_raw_waker`. Seems we always use `as_<something-raw>` instead of just `as_raw`. But `as_raw_waker` seems not quite consistent with `Waker::from_raw`.~ As suggested in rust-lang#91828 (comment), use `as_raw`.
    matthiaskrgr authored Jan 31, 2022
    Configuration menu
    Copy the full SHA
    2d658e9 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#92021 - woodenarrow:br_single_fp_element, r…

    …=Mark-Simulacrum
    
    Eliminate duplicate codes of is_single_fp_element
    
    There are duplicate codes of is_single_fp_element function. Merge these codes to TyAndLayout impl block.
    ![image](https://user-images.githubusercontent.com/95843988/146707753-ba9ffc41-5888-4a53-80cf-f4fe3bcbac54.png)
    matthiaskrgr authored Jan 31, 2022
    Configuration menu
    Copy the full SHA
    0c44c66 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#93019 - 5225225:uppercase-suffix, r=wesleyw…

    …iser
    
    If an integer is entered with an upper-case base prefix (0Xbeef, 0O755, 0B1010), suggest to make it lowercase
    
    The current error for this case isn't really great, it just complains about the whole thing past the `0` being an invalid suffix.
    matthiaskrgr authored Jan 31, 2022
    Configuration menu
    Copy the full SHA
    561f997 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#93090 - jyn514:errorkind-asstr, r=dtolnay

    `impl Display for io::ErrorKind`
    
    This avoids having to convert from `ErrorKind` to `Error` just to print the error message.
    matthiaskrgr authored Jan 31, 2022
    Configuration menu
    Copy the full SHA
    802c57d View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#93267 - lcnr:auto-trait-lint, r=nikomatsakis

    implement a lint for suspicious auto trait impls
    
    cc rust-lang#85048 (comment)
    
    r? ``@nikomatsakis``
    matthiaskrgr authored Jan 31, 2022
    Configuration menu
    Copy the full SHA
    478698b View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#93456 - bjorn3:remove_unnecessary_unsafe, r…

    …=michaelwoerister
    
    Remove an unnecessary transmute from opaque::Encoder
    matthiaskrgr authored Jan 31, 2022
    Configuration menu
    Copy the full SHA
    4aee623 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#93504 - solid-rs:fix-kmc-solid-stack-size, …

    …r=nagisa
    
    kmc-solid: Increase the default stack size
    
    This PR increases the default minimum stack size on the [`*-kmc-solid_*`](https://doc.rust-lang.org/nightly/rustc/platform-support/kmc-solid.html) Tier 3 targets to 64KiB (Arm) and 128KiB (AArch64).
    
    This value was chosen as a middle ground between supporting a relatively complex program (e.g., an application using a full-fledged off-the-shelf web server framework) with no additional configuration and minimizing resource consumption for the embedded platform that doesn't support lazily-allocated pages nor over-commitment (i.e., wasted stack spaces are wasted physical memory). If the need arises, the users can always set the `RUST_MIN_STACK` environmental variable to override the default stack size or use the platform API directly.
    matthiaskrgr authored Jan 31, 2022
    Configuration menu
    Copy the full SHA
    8968b20 View commit details
    Browse the repository at this point in the history