about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-06-17Fixing mistake in previous commitAniket Mishra-1/+1
2025-06-17Removal of redundant mod operation in _mm256_alignr_epi8Aniket Mishra-1/+1
2025-06-17Fix in erroneous implementation of _mm256_bsrli_epi128Aniket Mishra-1/+1
Fixing the issue mentioned in issue #1822 of rust-lang/stdarch.
2025-06-17Add a missing colon at the end of the expected panic message in ↵Daniel Paoliello-1/+1
location-detail-unwrap-multiline.rs
2025-06-17Add triagebot config for subtree syncsJakub Beránek-0/+10
Adds checking of PR descriptions to avoid relative issue links (without repository prefix) and mentions in commits.
2025-06-17Auto merge of #142613 - workingjubilee:rollup-yuod2hg, r=workingjubileebors-299/+334
Rollup of 13 pull requests Successful merges: - rust-lang/rust#138538 (Make performance description of String::{insert,insert_str,remove} more precise) - rust-lang/rust#141946 (std: refactor explanation of `NonNull`) - rust-lang/rust#142216 (Miscellaneous RefCell cleanups) - rust-lang/rust#142542 (Manually invalidate caches in SimplifyCfg.) - rust-lang/rust#142563 (Refine run-make test ignores due to unpredictable `i686-pc-windows-gnu` unwind mechanism) - rust-lang/rust#142570 (Reject union default field values) - rust-lang/rust#142584 (Handle same-crate macro for borrowck semicolon suggestion) - rust-lang/rust#142585 (Update books) - rust-lang/rust#142586 (Fold unnecessary `visit_struct_field_def` in AstValidator) - rust-lang/rust#142587 (Make sure to propagate result from `visit_expr_fields`) - rust-lang/rust#142595 (Revert overeager warning for misuse of `--print native-static-libs`) - rust-lang/rust#142598 (Set elf e_flags on ppc64 targets according to abi) - rust-lang/rust#142601 (Add a comment to `FORMAT_VERSION`.) r? `@ghost` `@rustbot` modify labels: rollup
2025-06-17Update libc to 0.2.174Trevor Gross-6/+6
This includes a fix for building on gnux32. [1]: https://github.com/rust-lang/libc/releases/tag/0.2.174
2025-06-17allow spawn to behave according to failure behaviorbit-aloo-36/+52
2025-06-17bootstrap.example.toml: use less contextual formatbinarycat-194/+189
prefixing each key with its section means you don't need to scroll up 4 pages to see which section a particular key is from. target specific options were kept in old format since the exact section name depends on the target, so those options must now be moved to the bottom of the file.
2025-06-17Temporarily add back -Zwasm-c-abi=specbjorn3-0/+11
This allows a more gradual transition path for projects that need to use use the spec-complaint C ABI both with older and newer rustc versions.
2025-06-17Add linksBoxy-9/+19
2025-06-17Write chapter on Unambig vs Ambig Types/ConstsBoxy-1/+53
2025-06-17Stub chapter and consolidate under `/hir/`Boxy-6/+8
2025-06-18Dont suggest remove semi inside macro expansion for redundant semi lintxizheyin-8/+22
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-06-17Merge pull request #2475 from lolbinarycat/patch-3nora-2/+2
Profiling with perf: specify the section of bootstrap settings.
2025-06-17Profiling with perf: specify the section of bootstrap settings.lolbinarycat-2/+2
2025-06-17Update cargoEric Huss-0/+0
2025-06-17Try to downgrade objectLaurențiu Nicola-12/+3
2025-06-17Find correct span when suggesting using clonexizheyin-1/+11
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-06-17add test suggest-clone-in-macro-issue-139253.rsxizheyin-0/+60
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-06-17change to executed atbit-aloo-11/+13
2025-06-17Merge pull request #20025 from SoxPopuli/hide_private_imports_without_peLaurențiu Nicola-5/+98
Hide imported privates if private editable is disabled
2025-06-17add run_always to recently migrated start_process commandbit-aloo-1/+4
2025-06-17move execution context out of deferred command, add as_ref implementation ↵bit-aloo-26/+20
and update wait_for_output usage
2025-06-17explain reasoning behind spawn APIbit-aloo-0/+1
2025-06-17add created at to command executionbit-aloo-4/+8
2025-06-17remove new method from command executionbit-aloo-12/+14
2025-06-17remove start_porcess helper methodbit-aloo-29/+0
2025-06-17move from start process to new start and wait for output api'sbit-aloo-18/+23
2025-06-17add start methods in execbit-aloo-3/+18
2025-06-17add deferred command in execution context and update run methodbit-aloo-46/+91
2025-06-17Auto merge of #137944 - davidtwco:sized-hierarchy, r=oli-obkbors-30/+36
Sized Hierarchy: Part I This patch implements the non-const parts of rust-lang/rfcs#3729. It introduces two new traits to the standard library, `MetaSized` and `PointeeSized`. See the RFC for the rationale behind these traits and to discuss whether this change makes sense in the abstract. These traits are unstable (as is their constness), so users cannot refer to them without opting-in to `feature(sized_hierarchy)`. These traits are not behind `cfg`s as this would make implementation unfeasible, there would simply be too many `cfg`s required to add the necessary bounds everywhere. So, like `Sized`, these traits are automatically implemented by the compiler. RFC 3729 describes changes which are necessary to preserve backwards compatibility given the introduction of these traits, which are implemented and as follows: - `?Sized` is rewritten as `MetaSized` - `MetaSized` is added as a default supertrait for all traits w/out an explicit sizedness supertrait already. There are no edition migrations implemented in this, as these are primarily required for the constness parts of the RFC and prior to stabilisation of this (and so will come in follow-up PRs alongside the const parts). All diagnostic output should remain the same (showing `?Sized` even if the compiler sees `MetaSized`) unless the `sized_hierarchy` feature is enabled. Due to the use of unstable extern types in the standard library and rustc, some bounds in both projects have had to be relaxed already - this is unfortunate but unavoidable so that these extern types can continue to be used where they were before. Performing these relaxations in the standard library and rustc are desirable longer-term anyway, but some bounds are not as relaxed as they ideally would be due to the inability to relax `Deref::Target` (this will be investigated separately). It is hoped that this is implemented such that it could be merged and these traits could exist "under the hood" without that being observable to the user (other than in any performance impact this has on the compiler, etc). Some details might leak through due to the standard library relaxations, but this has not been observed in test output. **Notes:** - Any commits starting with "upstream:" can be ignored, as these correspond to other upstream PRs that this is based on which have yet to be merged. - This best reviewed commit-by-commit. I've attempted to make the implementation easy to follow and keep similar changes and test output updates together. - Each commit has a short description describing its purpose. - This patch is large but it's primarily in the test suite. - I've worked on the performance of this patch and a few optimisations are implemented so that the performance impact is neutral-to-minor. - `PointeeSized` is a different name from the RFC just to make it more obvious that it is different from `std::ptr::Pointee` but all the names are yet to be bikeshed anyway. - `@nikomatsakis` has confirmed [that this can proceed as an experiment from the t-lang side](https://rust-lang.zulipchat.com/#narrow/channel/435869-project-goals/topic/SVE.20and.20SME.20on.20AArch64.20.28goals.23270.29/near/506196491) - FCP in https://github.com/rust-lang/rust/pull/137944#issuecomment-2912207485 Fixes rust-lang/rust#79409. r? `@ghost` (I'll discuss this with relevant teams to find a reviewer)
2025-06-17Auto merge of #137944 - davidtwco:sized-hierarchy, r=oli-obkbors-30/+36
Sized Hierarchy: Part I This patch implements the non-const parts of rust-lang/rfcs#3729. It introduces two new traits to the standard library, `MetaSized` and `PointeeSized`. See the RFC for the rationale behind these traits and to discuss whether this change makes sense in the abstract. These traits are unstable (as is their constness), so users cannot refer to them without opting-in to `feature(sized_hierarchy)`. These traits are not behind `cfg`s as this would make implementation unfeasible, there would simply be too many `cfg`s required to add the necessary bounds everywhere. So, like `Sized`, these traits are automatically implemented by the compiler. RFC 3729 describes changes which are necessary to preserve backwards compatibility given the introduction of these traits, which are implemented and as follows: - `?Sized` is rewritten as `MetaSized` - `MetaSized` is added as a default supertrait for all traits w/out an explicit sizedness supertrait already. There are no edition migrations implemented in this, as these are primarily required for the constness parts of the RFC and prior to stabilisation of this (and so will come in follow-up PRs alongside the const parts). All diagnostic output should remain the same (showing `?Sized` even if the compiler sees `MetaSized`) unless the `sized_hierarchy` feature is enabled. Due to the use of unstable extern types in the standard library and rustc, some bounds in both projects have had to be relaxed already - this is unfortunate but unavoidable so that these extern types can continue to be used where they were before. Performing these relaxations in the standard library and rustc are desirable longer-term anyway, but some bounds are not as relaxed as they ideally would be due to the inability to relax `Deref::Target` (this will be investigated separately). It is hoped that this is implemented such that it could be merged and these traits could exist "under the hood" without that being observable to the user (other than in any performance impact this has on the compiler, etc). Some details might leak through due to the standard library relaxations, but this has not been observed in test output. **Notes:** - Any commits starting with "upstream:" can be ignored, as these correspond to other upstream PRs that this is based on which have yet to be merged. - This best reviewed commit-by-commit. I've attempted to make the implementation easy to follow and keep similar changes and test output updates together. - Each commit has a short description describing its purpose. - This patch is large but it's primarily in the test suite. - I've worked on the performance of this patch and a few optimisations are implemented so that the performance impact is neutral-to-minor. - `PointeeSized` is a different name from the RFC just to make it more obvious that it is different from `std::ptr::Pointee` but all the names are yet to be bikeshed anyway. - `@nikomatsakis` has confirmed [that this can proceed as an experiment from the t-lang side](https://rust-lang.zulipchat.com/#narrow/channel/435869-project-goals/topic/SVE.20and.20SME.20on.20AArch64.20.28goals.23270.29/near/506196491) - FCP in https://github.com/rust-lang/rust/pull/137944#issuecomment-2912207485 Fixes rust-lang/rust#79409. r? `@ghost` (I'll discuss this with relevant teams to find a reviewer)
2025-06-17Auto merge of #137944 - davidtwco:sized-hierarchy, r=oli-obkbors-1021/+4167
Sized Hierarchy: Part I This patch implements the non-const parts of rust-lang/rfcs#3729. It introduces two new traits to the standard library, `MetaSized` and `PointeeSized`. See the RFC for the rationale behind these traits and to discuss whether this change makes sense in the abstract. These traits are unstable (as is their constness), so users cannot refer to them without opting-in to `feature(sized_hierarchy)`. These traits are not behind `cfg`s as this would make implementation unfeasible, there would simply be too many `cfg`s required to add the necessary bounds everywhere. So, like `Sized`, these traits are automatically implemented by the compiler. RFC 3729 describes changes which are necessary to preserve backwards compatibility given the introduction of these traits, which are implemented and as follows: - `?Sized` is rewritten as `MetaSized` - `MetaSized` is added as a default supertrait for all traits w/out an explicit sizedness supertrait already. There are no edition migrations implemented in this, as these are primarily required for the constness parts of the RFC and prior to stabilisation of this (and so will come in follow-up PRs alongside the const parts). All diagnostic output should remain the same (showing `?Sized` even if the compiler sees `MetaSized`) unless the `sized_hierarchy` feature is enabled. Due to the use of unstable extern types in the standard library and rustc, some bounds in both projects have had to be relaxed already - this is unfortunate but unavoidable so that these extern types can continue to be used where they were before. Performing these relaxations in the standard library and rustc are desirable longer-term anyway, but some bounds are not as relaxed as they ideally would be due to the inability to relax `Deref::Target` (this will be investigated separately). It is hoped that this is implemented such that it could be merged and these traits could exist "under the hood" without that being observable to the user (other than in any performance impact this has on the compiler, etc). Some details might leak through due to the standard library relaxations, but this has not been observed in test output. **Notes:** - Any commits starting with "upstream:" can be ignored, as these correspond to other upstream PRs that this is based on which have yet to be merged. - This best reviewed commit-by-commit. I've attempted to make the implementation easy to follow and keep similar changes and test output updates together. - Each commit has a short description describing its purpose. - This patch is large but it's primarily in the test suite. - I've worked on the performance of this patch and a few optimisations are implemented so that the performance impact is neutral-to-minor. - `PointeeSized` is a different name from the RFC just to make it more obvious that it is different from `std::ptr::Pointee` but all the names are yet to be bikeshed anyway. - `@nikomatsakis` has confirmed [that this can proceed as an experiment from the t-lang side](https://rust-lang.zulipchat.com/#narrow/channel/435869-project-goals/topic/SVE.20and.20SME.20on.20AArch64.20.28goals.23270.29/near/506196491) - FCP in https://github.com/rust-lang/rust/pull/137944#issuecomment-2912207485 Fixes rust-lang/rust#79409. r? `@ghost` (I'll discuss this with relevant teams to find a reviewer)
2025-06-17Hide imported privates if private editable is disabledCharlotte Smith-5/+98
2025-06-17Add test suggest-remove-semi-in-macro-expansion-issue-142143.rsxizheyin-0/+29
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-06-17fix: `needless_bool_assign` missing curlies when on else ifyanglsh-2/+40
2025-06-17Add `StepMetadata` to describe stepsJakub Beránek-45/+83
This is used to replace the previous downcasting of executed steps, which wasn't very scalable. In addition to tests, we could also use the metadata e.g. for tracing.
2025-06-17Don't double visit `HirId`s of inferred const/typesBoxy-2/+0
2025-06-17Rename hir const arg walking functionsBoxy-5/+5
2025-06-17fix: `op_ref` wrongly showed macro definition in suggestionsyanglsh-16/+104
2025-06-17Dont replace escaping bound vars in item sigsBoxy-160/+82
2025-06-17rebaseBoxy-56/+0
2025-06-17Test whether we use DeepRejectCtxtBoxy-4/+62
2025-06-17Don't build `ParamEnv` and do trait solving in `ItemCtxt`sBoxy-249/+576
2025-06-17Actually take `--build` into account in bootstrapJakub Beránek-1/+3
I went back 20 *stable* versions of Rust and I couldn't find this flag actually being used. Despite some of our CI workflows actually set this flag (!).
2025-06-17dogfood clippy::or_fun_callklensy-10/+12
2025-06-17Merge pull request #20023 from Veykril/push-vkqlnyttnqzlLukas Wirth-154/+256
Improve completions in if / while expression conditions
2025-06-17Rustup to rustc 1.89.0-nightly (45acf54ee 2025-06-16)bjorn3-1/+1
2025-06-17Sync from rust 45acf54eea118ed27927282b5e0bfdcd80b7987cbjorn3-108/+82