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

Merged
merged 17 commits into from
May 27, 2024
Merged

Rollup of 8 pull requests #125593

merged 17 commits into from
May 27, 2024

Commits on Apr 16, 2024

  1. Update Tests

    veera-sivarajan committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    62a104d View commit details
    Browse the repository at this point in the history
  2. Support C23's Variadics Without a Named Parameter

    This PR removes the static check that disallowed extern functions
    with ellipsis (varargs) as the only parameter since this is now
    valid in C23.
    
    Also, adds a doc comment for `check_decl_cvariadic_pos()` and
    fixes the name of the function (`varadic` -> `variadic`).
    veera-sivarajan committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    f005b45 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

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

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    4bc41b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c58b7c9 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. Configuration menu
    Copy the full SHA
    bebcb4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c84361 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. Notify T-rustdoc for beta-accepted and stable-accepted too

    Otherwise, it's unclear when the nomination label is removed whether the
    backport was accepted, thus nomination removed, or if the backport was
    rejected, thus nomination removed.
    camelid committed May 26, 2024
    Configuration menu
    Copy the full SHA
    91b3ef5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d37f456 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#124048 - veera-sivarajan:bugfix-123773-c23-…

    …variadics, r=compiler-errors
    
    Support C23's Variadics Without a Named Parameter
    
    Fixes rust-lang#123773
    
    This PR removes the static check that disallowed extern functions
    with ellipsis (varargs) as the only parameter since this is now
    valid in C23.
    
    This will not break any existing code as mentioned in the proposal
    document: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2975.pdf.
    
    Also, adds a doc comment for `check_decl_cvariadic_pos()` and
    fixes the name of the function (`varadic` -> `variadic`).
    workingjubilee authored May 26, 2024
    Configuration menu
    Copy the full SHA
    866630d View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#125046 - bjorn3:no_mutable_static_linkage, …

    …r=cjgillot
    
    Only allow immutable statics with #[linkage]
    workingjubilee authored May 26, 2024
    Configuration menu
    Copy the full SHA
    5860d43 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#125466 - compiler-errors:dont-probe-for-amb…

    …ig-in-sugg, r=jieyouxu
    
    Don't continue probing for method if in suggestion and autoderef hits ambiguity
    
    The title is somewhat self-explanatory. When we hit ambiguity in method autoderef steps, we previously would continue to probe for methods if we were giving a suggestion. This seems useless, and causes an ICE when we are not able to unify the receiver later on in confirmation.
    
    Fixes rust-lang#125432
    workingjubilee authored May 26, 2024
    Configuration menu
    Copy the full SHA
    09e7592 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#125469 - compiler-errors:dont-skip-inner-co…

    …nst-body, r=cjgillot
    
    Don't skip out of inner const when looking for body for suggestion
    
    Self-explanatory title, I'll point out the important logic in an inline comment.
    
    Fixes rust-lang#125370
    workingjubilee authored May 26, 2024
    Configuration menu
    Copy the full SHA
    b65b2b6 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#125544 - Urgau:check-cfg-mention-cargo-spec…

    …ific, r=jieyouxu
    
    Also mention my-self for other check-cfg docs changes
    
    This PR adds a mention for my-self for the recently added `src/doc/rustc/src/check-cfg` directory.
    
    *I had to add a second mention just for the directory since [`Path::starts_with`](https://doc.rust-lang.org/std/path/struct.Path.html#method.starts_with) as used by [triagebot](https://github.com/rust-lang/triagebot/blob/48f29f351cae774caa90f555fbbc6d0df7dce80e/src/handlers/mentions.rs#L69), matches on path components and so can never return true for a file and directory at the same time.*
    workingjubilee authored May 26, 2024
    Configuration menu
    Copy the full SHA
    c51fc1d View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#125559 - scottmcm:simplify-shift-ubcheck, r…

    …=workingjubilee
    
    Simplify the `unchecked_sh[lr]` ub-checks a bit
    
    It can use the constant in the check, rather than passing it as a parameter.
    workingjubilee authored May 26, 2024
    Configuration menu
    Copy the full SHA
    25b079a View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#125566 - camelid:notify-accepted, r=Guillau…

    …meGomez
    
    Notify T-rustdoc for beta-accepted and stable-accepted too
    
    Otherwise, it's unclear when the nomination label is removed whether the backport was accepted, thus nomination removed, or if the backport was rejected, thus nomination removed.
    
    r? ````@GuillaumeGomez````
    workingjubilee authored May 26, 2024
    Configuration menu
    Copy the full SHA
    45507e4 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#125582 - scottmcm:less-from-usize, r=jieyouxu

    Avoid a `FieldIdx::from_usize` in InstSimplify
    
    Just a tiny cleanup I noticed in passing while looking at something unrelated.
    workingjubilee authored May 26, 2024
    Configuration menu
    Copy the full SHA
    4ff7869 View commit details
    Browse the repository at this point in the history