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

subtree-push nightly-2024-12-02 #6412

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Commits on Sep 20, 2024

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

Commits on Oct 1, 2024

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

Commits on Oct 6, 2024

  1. Configuration menu
    Copy the full SHA
    3119c25 View commit details
    Browse the repository at this point in the history
  2. implement naked_asm macro

    folkertdev committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    dc3aaae View commit details
    Browse the repository at this point in the history
  3. disallow asm! in #[naked] functions

    also disallow the `noreturn` option, and infer `naked_asm!` as `!`
    folkertdev committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    2396811 View commit details
    Browse the repository at this point in the history
  4. various fixes for naked_asm! implementation

    - fix for divergence
    - fix error message
    - fix another cranelift test
    - fix some cranelift things
    - don't set the NORETURN option for naked asm
    - fix use of naked_asm! in doc comment
    - fix use of naked_asm! in run-make test
    - use `span_bug` in unreachable branch
    folkertdev committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    05792a3 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Convert Option<&Lrc<T>> return types to Option<&T>.

    It's simpler and more concise.
    nnethercote committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    b282b1e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75d02b3 View commit details
    Browse the repository at this point in the history
  3. Auto merge of #131235 - codemountains:rename-nestedmetaitem-to-metait…

    …emlnner, r=nnethercote
    
    Rename `NestedMetaItem` to `MetaItemInner`
    
    Fixes #131087
    
    r? `@nnethercote`
    bors committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    9964082 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of #131344 - nnethercote:ref-Lrc, r=compiler-errors

    Avoid `&Lrc<T>` in various places
    
    Seeing `&Lrc<T>` is a bit suspicious, and `&T` or `Lrc<T>` is often better.
    
    r? `@oli-obk`
    matthiaskrgr authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    ad45e18 View commit details
    Browse the repository at this point in the history
  5. Auto merge of #131354 - matthiaskrgr:rollup-hprnng2, r=matthiaskrgr

    Rollup of 4 pull requests
    
    Successful merges:
    
     - #131331 (Revert "warn_old_master_branch" check)
     - #131344 (Avoid `&Lrc<T>` in various places)
     - #131346 (Restrict `ignore-mode-*` directives)
     - #131353 (Add documentation for `runtest::check_rustdoc_test_option` method)
    
    r? `@ghost`
    `@rustbot` modify labels: rollup
    bors committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    0323e97 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4923e5a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a8fe895 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    44788b8 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Auto merge of #131045 - compiler-errors:remove-unnamed_fields, r=wesl…

    …eywiser
    
    Retire the `unnamed_fields` feature for now
    
    `#![feature(unnamed_fields)]` was implemented in part in #115131 and #115367, however work on that feature has (afaict) stalled and in the mean time there have been some concerns raised (e.g.[^1][^2]) about whether `unnamed_fields` is worthwhile to have in the language, especially in its current desugaring. Because it represents a compiler implementation burden including a new kind of anonymous ADT and additional complication to field selection, and is quite prone to bugs today, I'm choosing to remove the feature.
    
    However, since I'm not one to really write a bunch of words, I'm specifically *not* going to de-RFC this feature. This PR essentially *rolls back* the state of this feature to "RFC accepted but not yet implemented"; however if anyone wants to formally unapprove the RFC from the t-lang side, then please be my guest. I'm just not totally willing to summarize the various language-facing reasons for why this feature is or is not worthwhile, since I'm coming from the compiler side mostly.
    
    Fixes #117942
    Fixes #121161
    Fixes #121263
    Fixes #121299
    Fixes #121722
    Fixes #121799
    Fixes #126969
    Fixes #131041
    
    Tracking:
    * rust-lang/rust#49804
    
    [^1]: https://rust-lang.zulipchat.com/#narrow/stream/213817-t-lang/topic/Unnamed.20struct.2Funion.20fields
    [^2]: rust-lang/rust#49804 (comment)
    bors committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    ab5afca View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

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

Commits on Oct 15, 2024

  1. Rollup merge of #130635 - eholk:pin-reborrow-sugar, r=compiler-errors

    Add `&pin (mut|const) T` type position sugar
    
    This adds parser support for `&pin mut T` and `&pin const T` references. These are desugared to `Pin<&mut T>` and `Pin<&T>` in the AST lowering phases.
    
    This PR currently includes #130526 since that one is in the commit queue. Only the most recent commits (bd450027eb4a94b814a7dd9c0fa29102e6361149 and following) are new.
    
    Tracking:
    
    - #130494
    
    r? `@compiler-errors`
    matthiaskrgr authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e0d0aac View commit details
    Browse the repository at this point in the history
  2. Auto merge of #131723 - matthiaskrgr:rollup-krcslig, r=matthiaskrgr

    Rollup of 9 pull requests
    
    Successful merges:
    
     - #122670 (Fix bug where `option_env!` would return `None` when env var is present but not valid Unicode)
     - #131095 (Use environment variables instead of command line arguments for merged doctests)
     - #131339 (Expand set_ptr_value / with_metadata_of docs)
     - #131652 (Move polarity into `PolyTraitRef` rather than storing it on the side)
     - #131675 (Update lint message for ABI not supported)
     - #131681 (Fix up-to-date checking for run-make tests)
     - #131702 (Suppress import errors for traits that couldve applied for method lookup error)
     - #131703 (Resolved python deprecation warning in publish_toolstate.py)
     - #131710 (Remove `'apostrophes'` from `rustc_parse_format`)
    
    r? `@ghost`
    `@rustbot` modify labels: rollup
    bors committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    5314b36 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bdf2450 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2024

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

Commits on Nov 15, 2024

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

Commits on Nov 20, 2024

  1. Introduce InvisibleOrigin on invisible delimiters.

    It's not used meaningfully yet, but will be needed to get rid of
    interpolated tokens.
    nnethercote committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    224ced5 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. Implement the unsafe-fields RFC.

    Co-Authored-By: Jacob Pratt <[email protected]>
    veluca93 and jhpratt committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    b116480 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

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

Commits on Dec 2, 2024

  1. Configuration menu
    Copy the full SHA
    46c9cfc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af9e9c0 View commit details
    Browse the repository at this point in the history