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

Closed
wants to merge 17 commits into from
Closed

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
    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
    2782123 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce67768 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bebcb4e 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`).
    jhpratt committed May 26, 2024
    Configuration menu
    Copy the full SHA
    ec0d36b 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]
    jhpratt committed May 26, 2024
    Configuration menu
    Copy the full SHA
    0996b74 View commit details
    Browse the repository at this point in the history
  5. 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
    jhpratt committed May 26, 2024
    Configuration menu
    Copy the full SHA
    5c24222 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#125530 - SparrowLii:expand2, r=petrochenkov

    cleanup dependence of `ExtCtxt` in transcribe when macro expansion
    
    part of rust-lang#125356
    We can remove `transcribe`’s dependence on `ExtCtxt` to facilitate subsequent work (such as moving macro expansion into the incremental compilation system)
    
    r? ``@petrochenkov``
    Thanks for the reviewing!
    jhpratt committed May 26, 2024
    Configuration menu
    Copy the full SHA
    8bcf07e View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#125539 - matthiaskrgr:cräsh, r=jieyouxu

    crashes: increment the number of tracked ones
    
    r? ```@jieyouxu```
    jhpratt committed May 26, 2024
    Configuration menu
    Copy the full SHA
    a57926a View commit details
    Browse the repository at this point in the history
  8. 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.*
    jhpratt committed May 26, 2024
    Configuration menu
    Copy the full SHA
    8ba8b65 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```
    jhpratt committed May 26, 2024
    Configuration menu
    Copy the full SHA
    94583a4 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.
    jhpratt committed May 26, 2024
    Configuration menu
    Copy the full SHA
    75b0523 View commit details
    Browse the repository at this point in the history