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

Merged
merged 21 commits into from
Jul 16, 2022
Merged

Rollup of 7 pull requests #99315

merged 21 commits into from
Jul 16, 2022

Commits on Jun 22, 2022

  1. Impl io::error::repr_unpacked::Repr::new

    that accepts `ErrorData<Box<Custom>>`
    
    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    d11ff2a View commit details
    Browse the repository at this point in the history
  2. Impl io::error::repr_bitpacked::Repr::new

    that accepts `ErrorData<Box<Custom>>`
    
    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    1713e25 View commit details
    Browse the repository at this point in the history
  3. Add new unstable API Error::try_downgrade_inner

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    e0ea0c2 View commit details
    Browse the repository at this point in the history
  4. Add new unit test test_try_downcast_inner

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    d2211c9 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Use unwrap instead of unwrap_unchecked

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    516da4c View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Add std::fs::write documentation precision

    As mentioned in rust-lang#97947, the documentation is updated
    LucasDumont committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    07a0fd2 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Rename std::io::Error::try_downcast_inner to downcast

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    111253c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d45977 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

  1. Improve example of downcast

    Co-authored-by: Jane Losare-Lusby <jlusby42@gmail.com>
    NobodyXu and yaahc authored Jul 15, 2022
    Configuration menu
    Copy the full SHA
    d8aba10 View commit details
    Browse the repository at this point in the history
  2. Fix typo in mod.rs

    constuct -> construct
    eltociear authored Jul 15, 2022
    Configuration menu
    Copy the full SHA
    67a6c0a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fa3156e View commit details
    Browse the repository at this point in the history
  4. Stabilize core::ffi::CStr, alloc::ffi::CString, and friends

    Stabilize the `core_c_str` and `alloc_c_string` feature gates.
    
    Change `std::ffi` to re-export these types rather than creating type
    aliases, since they now have matching stability.
    joshtriplett committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    d6b7480 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8e8a3be View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2022

  1. Add regression test for rust-lang#64401

    Signed-off-by: Yuki Okushi <jtitor@2k36.org>
    JohnTitor committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    6465980 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#98387 - NobodyXu:feature/std_io_Error_try_d…

    …owngrade_inner, r=yaahc
    
    Add new unstable API `downcast` to `std::io::Error`
    
    rust-lang/libs-team#57
    
    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    bf9ed99 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#98662 - LucasDumont:document_fs_write, r=th…

    …omcc
    
    Add std::fs::write documentation precision
    
    Fixes rust-lang#97947.
    
    As mentioned in rust-lang#97947, the documentation is updated
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    06eb90e View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#99253 - pierwill:pierwill/rm-storage-fixme,…

    … r=oli-obk
    
    Remove FIXME from MIR `always_storage_live_locals`
    
    See discussion in rust-lang#99025 (comment).
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    b538d5a View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#99264 - eltociear:patch-14, r=compiler-errors

    Fix typo in mod.rs
    
    constuct -> construct
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    8a64529 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#99270 - rhysd:issue-99269, r=Mark-Simulacrum

    Add `#[must_use]` to `Box::from_raw`
    
    Fixes rust-lang#99269
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    96474a7 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#99277 - joshtriplett:stabilize-core-cstr-al…

    …loc-cstring, r=Mark-Simulacrum
    
    Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friends
    
    Stabilize the `core_c_str` and `alloc_c_string` feature gates.
    
    Change `std::ffi` to re-export these types rather than creating type
    aliases, since they now have matching stability.
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    083a253 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#99307 - JohnTitor:issue-64401, r=compiler-e…

    …rrors
    
    Add regression test for rust-lang#64401
    
    Closes rust-lang#64401
    r? `@compiler-errors`
    
    Signed-off-by: Yuki Okushi <jtitor@2k36.org>
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    202c11b View commit details
    Browse the repository at this point in the history