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

Merged
merged 14 commits into from
Aug 1, 2023
Merged

Rollup of 7 pull requests #114308

merged 14 commits into from
Aug 1, 2023

Commits on Apr 19, 2023

  1. std: make Debug representations of [Lazy, Once]*[Cell, Lock] cons…

    …istent with `Mutex` and `RwLock`
    
    `Mutex` prints `<locked>` as a field value when its inner value cannot be accessed, but the lazy types print a fixed string like "`OnceCell(Uninit)`". This could cause confusion if the inner type is a unit type named `Uninit` and does not respect the pretty-printing flag. With this change, the format message is now "`OnceCell(<uninit>)`", consistent with `Mutex`.
    joboet committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    b7e68df View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. Re-export core::ffi::FromBytesUntilNulError in std::ffi

    Like the other CStr and CString error types, make a re-export for
    std::ffi::FromBytesUntilNulError.
    
    This seems to have slipped through the cracks in the
    cstr_from_bytes_until_nul implementation and core_c_str migration.
    
    Tracking Issue: rust-lang#95027
    aswild committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    fda3d2a View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

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

Commits on Jul 28, 2023

  1. clean up after 113312

    Ddystopia committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    63845e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2023

  1. Configuration menu
    Copy the full SHA
    bca79a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    752e6e1 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. add missing rvalues to smir

    ouz-a committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    2a3da87 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#109318 - joboet:better_fmt_placeholder, r=d…

    …tolnay
    
    Make `Debug` representations of `[Lazy, Once]*[Cell, Lock]` consistent with `Mutex` and `RwLock`
    
    `Mutex` prints `<locked>` as a field value when its inner value cannot be accessed, but the lazy types print a fixed string like "`OnceCell(Uninit)`". This could cause confusion if the inner type is a unit type named `Uninit` and does not respect the pretty-printing flag. With this change, the format message is now "`OnceCell(<uninit>)`", consistent with `Mutex`.
    matthiaskrgr committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    bcfa49f View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#113701 - aswild:std-ffi-frombytesuntilnul, …

    …r=dtolnay
    
    Re-export core::ffi::FromBytesUntilNulError in std::ffi
    
    Like the other CStr and CString error types, make a re-export for std::ffi::FromBytesUntilNulError.
    
    This seems to have slipped through the cracks in the cstr_from_bytes_until_nul implementation and core_c_str migration.
    
    Tracking Issue: rust-lang#95027
    matthiaskrgr committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    efd68db View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#113804 - Kobzol:opt-dist-version, r=Mark-Si…

    …mulacrum
    
    Resolve correct archive version name in `opt-dist`
    
    Should resolve the master part of rust-lang#113784.
    
    r? `@Mark-Simulacrum`
    matthiaskrgr committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    756da76 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#114165 - ouz-a:smir1, r=spastorino

    Add missing rvalues to smir
    
    Added few missing rvalues to smir, not entirely confident about changes to `Aggregate`
    
    cc rust-lang/project-stable-mir#13
    
    r? `@oli-obk`
    matthiaskrgr committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    35ba616 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#114182 - Ddystopia:cleanup-after-113312, r=…

    …lcnr
    
    clean up after 113312
    
    Minor edits for rust-lang#113312
    
    cc ``@RalfJung``
    r? ``@lcnr``
    matthiaskrgr committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    7c6942a View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#114193 - crlf0710:lexer_unicode15, r=Manish…

    …earth
    
    Update lexer emoji diagnostics to Unicode 15.0
    
    This replaces the `unic-emoji-char` dep tree (which hasn't been updated for a while) with `unicode-properties` crate which contains Unicode 15.0 data.
    
    Improves diagnostics for added emoji characters in recent years. (See tests).
    
    cc rust-lang#101840
    
    cc ``@Manishearth``
    matthiaskrgr committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    57c57a5 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#114200 - compiler-errors:detect-tail-unsize…

    …-then-upcast, r=lcnr
    
    Detect trait upcasting through struct tail unsizing in new solver select
    
    Oops, we were able to hide trait upcasting behind a parent unsize goal that evaluated to `Certainty::Yes`. Let's do rematching for `Certainty::Yes` unsize goals with `BuiltinImplSource::Misc` sources (corresponding to all of the other unsize rules) to make sure we end up selecting any nested goals which may be satisfied via `BuiltinImplSource::TraitUpcasting` or `::TupleUnsizing`.
    
    r? ``@lcnr``
    matthiaskrgr committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    c73e232 View commit details
    Browse the repository at this point in the history