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

Closed
wants to merge 16 commits into from

Commits on Aug 5, 2022

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

Commits on Sep 9, 2022

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

Commits on Sep 10, 2022

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

Commits on Sep 11, 2022

  1. Add test for rust-lang#101211

    winxpqq955 committed Sep 11, 2022
    Configuration menu
    Copy the full SHA
    2126622 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd54846 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3bf33c3 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. constify CStr methods

    WaffleLapkin committed Sep 12, 2022
    Configuration menu
    Copy the full SHA
    cb02b64 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9139891 View commit details
    Browse the repository at this point in the history
  3. rustdoc: improve rustdoc HTML suggestions handling of nested generics

    Based on some poor suggestions produced when stablizing this lint and running
    it on `manformed-generics.rs`
    notriddle committed Sep 12, 2022
    Configuration menu
    Copy the full SHA
    84ca399 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#100185 - compiler-errors:issue-100183, r=we…

    …sleywiser
    
    Fix `ReErased` leaking into typeck due to `typeof(...)` recovery
    
    Fixes rust-lang#100183
    GuillaumeGomez authored Sep 12, 2022
    Configuration menu
    Copy the full SHA
    9853343 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#100291 - WaffleLapkin:cstr_const_methods, r…

    …=oli-obk
    
    constify some `CStr` methods
    
    This PR marks the following public APIs as `const`:
    ```rust
    impl CStr {
        // feature(const_cstr_from_bytes)
        pub const fn from_bytes_until_nul(bytes: &[u8]) -> Result<&CStr, FromBytesUntilNulError>;
        pub const fn from_bytes_with_nul(bytes: &[u8]) -> Result<&Self, FromBytesWithNulError>;
    
        // feature(const_cstr_to_bytes)
        pub const fn to_bytes(&self) -> &[u8];
        pub const fn to_bytes_with_nul(&self) -> &[u8];
        pub const fn to_str(&self) -> Result<&str, str::Utf8Error>;
    }
    ```
    
    r? ``@oli-obk`` (use of `const_eval_select` :P )
    cc ``@mina86`` (you've asked for this <3 )
    GuillaumeGomez authored Sep 12, 2022
    Configuration menu
    Copy the full SHA
    2670093 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#101266 - LuisCardosoOliveira:translation-ru…

    …stcsession-pt3, r=davidtwco
    
    translations(rustc_session): migrates rustc_session to use SessionDiagnostic - Final
    
    # Description
    This is the final part of the rustc_session rust-lang#100717 (comment).
    
    Please only review this [commit](rust-lang@a545347). The other ones are from the PR rust-lang#101041 that is not yet merged.
    
    In this PR, we migrate the file `output.rs`
    GuillaumeGomez authored Sep 12, 2022
    Configuration menu
    Copy the full SHA
    a31ddcd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b9775e8 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#101700 - compiler-errors:deletion-span, r=d…

    …avidtwco
    
    A `SubstitutionPart` is not considered a deletion if it replaces nothing with nothing
    
    Fixes rust-lang#101689
    GuillaumeGomez authored Sep 12, 2022
    Configuration menu
    Copy the full SHA
    8bb913d View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#101724 - fee1-dead-contrib:triage-const-hac…

    …k, r=oli-obk
    
    Allow unauthenticated users to add the `const-hack` label
    
    Observed in rust-lang#101401.
    
    cc ``@oli-obk``
    GuillaumeGomez authored Sep 12, 2022
    Configuration menu
    Copy the full SHA
    86faf6c View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#101731 - notriddle:notriddle/more-improved-…

    …html-check, r=GuillaumeGomez
    
    rustdoc: improve rustdoc HTML suggestions handling of nested generics
    
    Based on some poor suggestions produced when stablizing this lint and running it on `manformed-generics.rs` in rust-lang#101720
    GuillaumeGomez authored Sep 12, 2022
    Configuration menu
    Copy the full SHA
    996ca3d View commit details
    Browse the repository at this point in the history