about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-09-24rustdoc-search: stringdex update with more packingMichael Howell-30/+54
Before: 18M build/x86_64-unknown-linux-gnu/doc/search.index/ 57M build/x86_64-unknown-linux-gnu/compiler-doc/search.index/ After: 16M build/x86_64-unknown-linux-gnu/doc/search.index/ 49M build/x86_64-unknown-linux-gnu/compiler-doc/search.index/
2025-09-24Merge pull request #20721 from ChayimFriedman2/fix-neverChayim Refael Friedman-230/+770
fix: Implement fallback properly
2025-09-25mark THIR use as candidate for constness checkDing Xiang Fei-1/+12
2025-09-25add test fixture for newly allowed const exprDing Xiang Fei-0/+8
Signed-off-by: Ding Xiang Fei <dingxiangfei2009@protonmail.ch> Co-authored-by: Theemathas Chirananthavat <theemathas@gmail.com>
2025-09-25do not materialise X in [X; 0] when X is unsizing a constDing Xiang Fei-1/+50
2025-09-24Address review commentsJules Bertholet-8/+23
2025-09-24Implement fallback properlyChayim Refael Friedman-230/+770
fallback.rs was ported straight from rustc (minus the lint parts). This fixes the `!` regressions.
2025-09-24Merge pull request #20683 from regexident/inference-result-types-iterChayim Refael Friedman-0/+20
Expose iterators over an inference result's types
2025-09-24std: add support for armv7a-vex-v5 targetTropical-10/+1012
Co-authored-by: Lewis McClelland <lewis@lewismcclelland.me>
2025-09-24Improve the pretty print of UnstableFeature clausetiif-8/+7
2025-09-24impl Ord for params and use unstable sortMarijn Schouten-2/+2
2025-09-24f16_f128: enable some more tests in MiriRalf Jung-17/+15
2025-09-24Update cargo submoduleWeihang Lo-0/+0
2025-09-24Fix infinite recursion in Path::eq with StringIris Shi-9/+19
2025-09-24Improve derive suggestion of const paramtiif-11/+14
Make the suggestion not to remove the adt and use the name of the adt variant
2025-09-24feature: Implement vec_try_removeBenjaminBrienen-2/+46
Vec::try_remove is a non-panicking version of Vec::remove
2025-09-24simplify setup_constraining_predicates, and note it is potentially cubicMarijn Schouten-26/+26
2025-09-24constify Default on NanosecondsNathaniel McCallum-1/+2
2025-09-24Auto merge of #146338 - CrooseGit:dev/reucru01/AArch64-enable-GCS, ↵bors-18/+44
r=Urgau,davidtwco Extends AArch64 branch protection support to include GCS Extends existing support for AArch64 branch protection to include support for [Guarded Control Stacks](https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/arm-a-profile-architecture-2022#guarded-control-stack-gcs:~:text=Extraction%20or%20tracking.-,Guarded%20Control%20Stack%20(GCS),-With%20the%202022).
2025-09-24add testlcnr-0/+40
2025-09-24Switch next-solver related rustc dependencies of r-a to crates.io onesShoyu Vanilla-40/+5
2025-09-24alloc: simplify `Default` for `Box<CStr>` and `Rc<CStr>`joboet-5/+2
2025-09-24const validation: better error for maybe-null referencesRalf Jung-29/+108
2025-09-24const-eval: improve and actually test the errors when pointers might be ↵Ralf Jung-21/+49
outside the range of a scalar
2025-09-24imrpove type_op failure ICElcnr-3/+3
2025-09-24allow bound regions in writebacklcnr-29/+18
2025-09-24fix wordinglcnr-1/+1
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
2025-09-24Auto merge of #146946 - matthiaskrgr:rollup-fsmrqez, r=matthiaskrgrbors-189/+526
Rollup of 6 pull requests Successful merges: - rust-lang/rust#146818 (constify {float}::total_cmp()) - rust-lang/rust#146896 (rustc-dev-guide subtree update) - rust-lang/rust#146898 (Update books) - rust-lang/rust#146899 (Fix a crash/mislex when more than one frontmatter closing possibility is considered) - rust-lang/rust#146904 (rust-lang/rust#140368 Mutex/RwLock/ReentrantLock::data_ptr to be const fn) - rust-lang/rust#146907 (add regression test for issue 146537) r? `@ghost` `@rustbot` modify labels: rollup
2025-09-24chore: remove discord references from the std library as wellsysrex-2/+2
2025-09-24library: std: sys: pal: uefi: Add some commentsAyush Singh-0/+4
I seemed to have forgotten that since I am using GET_PROTOCOL attribute for the std usecases, I did not need to close the protocols explicitly. So adding these comments as a note to future self not to waste time on the same thing again. Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-09-24Fix applicable on if-let-chain for invert_ifA4-Tacks-4/+13
Example --- ```rust fn f() { i$0f x && let Some(_) = Some(1) { 1 } else { 0 } } ``` **Before this PR**: ```rust fn f() { if !(x && let Some(_) = Some(1)) { 0 } else { 1 } } ``` **After this PR**: Assist not applicable
2025-09-24Remove non-ns version of impl_self_ty and impl_traitjackh726-127/+97
2025-09-24temporary-lifetime-extension-tuple-ctor.rs: make usable on all editionsTshepang Mbambo-3/+3
Also - add Reference id - fix typo
2025-09-24Merge pull request #20733 from jackh726/next-trait-solver-next3Shoyu Vanilla (Flint)-528/+461
Convert more things from chalk to next solver
2025-09-24Auto merge of #146953 - dianqk:update-llvm, r=cuviperbors-0/+0
Update LLVM to 21.1.2 Fixes rust-lang/rust#146065.
2025-09-23Including spans in layout errors for all ADTsCaleb Zulawski-4/+6
2025-09-23Add an attribute to check the number of lanes in a SIMD vector after ↵Caleb Zulawski-78/+245
monomorphization Unify zero-length and oversized SIMD errors
2025-09-23Update compiler/rustc_mir_transform/src/patch.rsCamille Gillot-0/+2
Co-authored-by: lcnr <rust@lcnr.de>
2025-09-24Update LLVM to 21.1.2dianqk-0/+0
2025-09-24core: simplify `CStr::default()`joboet-3/+1
Just use a `CStr`-literal...
2025-09-23Make missed precondition-free float intrinsics safeltdk-20/+22
2025-09-23Rollup merge of #146907 - cyrgani:146537-test, r=nnethercoteMatthias Krüger-0/+34
add regression test for issue 146537 Adds a test based on the reduction in https://github.com/rust-lang/rust/issues/146537#issuecomment-3289438439. This was already fixed in rust-lang/rust#142882 before the issue was even reported, but no test for it was added yet.
2025-09-23Rollup merge of #146904 - peter-lyons-kehl:140368_data_ptr_const_fn, r=AmanieuMatthias Krüger-5/+5
#140368 Mutex/RwLock/ReentrantLock::data_ptr to be const fn
2025-09-23Rollup merge of #146899 - Teapot4195:issue-146847-fix, r=nnethercoteMatthias Krüger-1/+34
Fix a crash/mislex when more than one frontmatter closing possibility is considered When the less fortunate recovery path for frontmatters are taken, if the lexer considers more than one possible frontmatter closing possibility, the current index is entirely mis-tracked and can result in bump_bytes landing in the middle of a multichar unicode character. This fixes it by tracking the actual base index and updating it as it considers additional closing possibilities. fixes rust-lang/rust#146847
2025-09-23Rollup merge of #146898 - rustbot:docs-update, r=ehussMatthias Krüger-0/+0
Update books ## rust-lang/book 1 commits in 3e9dc46aa563ca0c53ec826c41b05f10c5915925..33f1af40cc44dde7e3e892f7a508e6f427d2cbc6 2025-09-15 16:10:14 UTC to 2025-09-15 16:10:14 UTC - Release trpl 0.3 (rust-lang/book#4505) ## rust-lang/reference 9 commits in b3ce60628c6f55ab8ff3dba9f3d20203df1c0dee..cc7247d8dfaef4c39000bb12c55c32ba5b5ba976 2025-09-20 10:26:26 UTC to 2025-09-08 18:07:29 UTC - Document temporary scoping for destructuring assignments (rust-lang/reference#1992) - Specify lifetime extension of `pin!` and `format_args!` arguments (rust-lang/reference#1980) - update for more ABIs supporting c-variadics (rust-lang/reference#1936) - Fix incorrect span tag (rust-lang/reference#1995) - Remove strike attribute (rust-lang/reference#1997) - Specify the target limits for target-specific ABIs (rust-lang/reference#2000) - Remove tuple index carve out (rust-lang/reference#1966) - Enable folding of chapter listing in navigation sidebar (rust-lang/reference#1988) - Add support to grammar for single line comments (rust-lang/reference#1993) ## rust-lang/rust-by-example 1 commits in dd26bc8e726dc2e73534c8972d4dccd1bed7495f..2c9b490d70e535cf166bf17feba59e594579843f 2025-09-18 22:28:52 UTC to 2025-09-18 22:28:52 UTC - Update unit testing output for additional test (rust-lang/rust-by-example#1958)
2025-09-23Rollup merge of #146896 - tshepang:rdg-sync, r=tshepangMatthias Krüger-93/+360
rustc-dev-guide subtree update Subtree update of `rustc-dev-guide` to https://github.com/rust-lang/rustc-dev-guide/commit/d76c84c23cb8558efe133951d3b4e9d960750192. Created using https://github.com/rust-lang/josh-sync. r? `````@ghost`````
2025-09-23Rollup merge of #146818 - npmccallum:total_cmp, r=fee1-deadMatthias Krüger-90/+93
constify {float}::total_cmp()
2025-09-23Auto merge of #146931 - RalfJung:miri, r=RalfJungbors-444/+370
miri subtree update Subtree update of `miri` to https://github.com/rust-lang/miri/commit/f6466ce655ff6b203de81ba6f4cbfe8d8dd6756f. Created using https://github.com/rust-lang/josh-sync. r? `@ghost`
2025-09-23Be sure to instantiate and pass up trait refs in ↵Jack Huey-12/+15
named_associated_type_shorthand_candidates
2025-09-23Remove all non-ns diagnostics queries, naming consistenlyJack Huey-154/+90