about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-09-12Rename AssocItemContainer -> AssocContainerCameron Steffen-5/+5
2025-09-12Rename AssocItemContainer -> AssocContainerCameron Steffen-83/+81
2025-09-12Introduce trait_item_ofCameron Steffen-11/+4
2025-09-12Introduce trait_item_ofCameron Steffen-39/+29
2025-09-12Fix two typos spotted in reviewJonathan 'theJPster' Pallant-4/+4
2025-09-12Improve `core::ptr` coverageChristian Poveda-0/+8
2025-09-12Re-order and re-work the aarch64-unknown-none platform support page.Jonathan 'theJPster' Pallant-60/+17
Removes a bunch of information that isn't, strictly speaking, target specific.
2025-09-12Improve `core::num` coverageChristian Poveda-0/+7
2025-09-12Remove bullet points from the target maintainer list for the arm bare-metal ↵Jonathan 'theJPster' Pallant-12/+12
targets
2025-09-12Improve `core::hash` coverageChristian Poveda-0/+13
2025-09-12Add --print target-spec-json-schemaNoratrieb-16/+229
This schema is helpful for people writing custom target spec JSON. It can provide autocomplete in the editor, and also serves as documentation when there are documentation comments on the structs, as `schemars` will put them in the schema.
2025-09-12Add test batch 3Oneirical-57/+104
2025-09-12rustdoc-search: reduce async machinery in value lookupsMichael Howell-50/+57
This commit is a mirrored change from stringdex that makes `at()` not always return a promise, which is fine because we can still `await` it.
2025-09-12Introduce `target_spec_enum` macro to avoid duplicationNoratrieb-715/+244
With this macro we only need to enumerate every variant once. This saves a lot of duplication already between the definition, the `FromStr` impl and the `ToJson` impl. It also enables us to do further things with it like JSON schema generation.
2025-09-12tests: update new test to accept new lifetime formatAugie Fackler-2/+2
Same change as rust-lang/rust@258915a55539593423c3d4c30f7b741f65c56e51, just for a newly written test.
2025-09-12autofix for `rest_pat_in_fully_bound_structs`Valdemar Erk-6/+83
2025-09-12Merge pull request #2584 from rust-lang/tshepang-patch-5nora-2/+1
remove confusing parts of sentence
2025-09-12Auto merge of #144847 - Randl:const-ord, r=oli-obkbors-173/+226
Constify Eq, Ord, PartialOrd Adds `#[const_trait]` and impls for `Eq`, `Ord`, `PartialOrd`. Impl for some other traits (e.g., slices and arrays) are blocked mainly on const closures (https://github.com/rust-lang/rust/issues/106003). For TypeId Ord we need const pointer comparison (https://github.com/rust-lang/rust/issues/53020) Tracking issue https://github.com/rust-lang/rust/issues/143800
2025-09-12`clippy_utils`: make `peel_*_ty_refs` class of functions a bit more ↵Samuel Tardieu-105/+74
consistent (#15515) I was looking for the function that peels refs from a type while also returning the number of refs peeled, and it turns out there were actually two of them?? I removed the by far less popular one, and made some other clean-up along the way changelog: none
2025-09-12Improve `core::fmt` coverageChristian Poveda-0/+52
2025-09-12fix(use_self): don't early-return if the outer type has no lifetimes (#15611)Samuel Tardieu-87/+92
Fixes https://github.com/rust-lang/rust-clippy/issues/13277 Unfortunately breaks another case, which has only been working thanks to the now fixed bug -- see last commit. changelog: [`use_self`]: don't early-return if the outer type has no lifetimes
2025-09-12fix: ignore unsafe ops from `.await` desugaringAda Alakbarova-31/+149
2025-09-12Improve `core::char` coverageChristian Poveda-0/+44
2025-09-12clean-up testsAda Alakbarova-101/+99
2025-09-12reorganize `peel_*_ty_refs` functionsAda Alakbarova-92/+66
- give `ty::walk_ptrs_hir_ty` a more standard name `peel_hir_ty_refs_and_ptrs` - move it out of `ty`, since that's for `middle::ty::Ty` - remove `ty::walk_ptrs_ty_depth` for equivalent `peel_middle_ty_refs` - rename the latter into `ty::peel_and_count_ty_refs` - incorporate mutability tracking (from `ty::peel_mid_ty_refs_is_mutable`) into that
2025-09-12Merge pull request #4578 from Patrick-6/miri-genmc-casRalf Jung-54/+850
Add compare_exchange support for GenMC mode
2025-09-12other clean-upAda Alakbarova-18/+13
2025-09-12Improve `core::alloc` coverageChristian Poveda-0/+24
2025-09-12Merge pull request #4582 from RalfJung/wasip2-helloworldRalf Jung-18/+86
make a basic hello world work on wasip2
2025-09-12Implement more features for GenMC modePatrick-6-54/+850
- Handling Compare-Exchange operations. - Limitation: Compare-Exchange currently ignores possibility of spurious failures. - Limitation: Compare-Exchange failure memory ordering is ignored. - Upgrade compare-exchange success ordering to avoid reporting non-existent bugs. - Add warnings for GenMC mode for unsupported features. - Add a lot of tests, including translation of GenMC litmus tests and Loom tests. - Cleanup
2025-09-12Fix `invalid_upcast_comparisons` wrongly unmangled macros (#15663)Samuel Tardieu-3/+30
Closes rust-lang/rust-clippy#15662 changelog: [`invalid_upcast_comparisons`] fix wrong unmangle of macros
2025-09-12Revert "Constify SystemTime methods"Ralf Jung-165/+68
This reverts commit 7ce620dd7c6fc3371290b40a1ea28146f0d37031. The const-hacks introduces bugs, and they make the code harder to maintain. Let's wait until we can constify these functions without changing their implementation.
2025-09-12make a basic hello world work on wasip2Ralf Jung-2/+70
2025-09-12Merge pull request #2588 from fmease/to-crash-testsLeón Orell Valerian Liehr-9/+10
Rename "crashes tests" to "crash tests"
2025-09-12Rename "crashes tests" to "crash tests"León Orell Valerian Liehr-9/+10
2025-09-12Remove unreachable unsized arg handling in `store_fn_arg/store_arg` in codegenZachary S-15/+5
2025-09-12move _Unwind_RaiseException out of the frame_in_std sectionRalf Jung-16/+16
2025-09-12Auto merge of #146329 - lcnr:opaque-type-infer-alias-candidates, r=BoxyUwUbors-38/+490
consider item bounds for non-yet-defined opaque types Based on rust-lang/rust#140405. fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/182 fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/196 fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/205 there's some jank here, see https://github.com/rust-lang/trait-system-refactor-initiative/issues/229 ## Design If the self type is an inference variable which has been sub-unified with am opaque type, we need to incompletely guide inference to avoid breakage. In this case, we - look at the item bounds of all sub-unified opaque types, and - blanket impls which do not constrain the self type Even if there are applicable candidates, we always force their certainty to be `Maybe`, so they will always have to be reproven once we've constrained the inference variable. This is a bit iffy, see the added tests. r? `@BoxyUwU`
2025-09-12Fix `as_underscore` to only suggest when it's suggestable (#15652)Alex Macleod-4/+38
Have `as_underscore` only make a suggestion when the type is suggestable. changelog: [`as_underscore`]: Don't suggest a fix if the type is not suggestable Fixes rust-lang/rust-clippy#15282
2025-09-12Fix extra semicolon before else in let-stmtA4-Tacks-1/+51
Example --- ```rust fn main() { let x = if true { () } $0 else {}; } ``` **Before this PR**: ```rust fn main() { let x = if true { () } else if $1 { $0 }; else {}; } ``` **After this PR**: ```rust fn main() { let x = if true { () } else if $1 { $0 } else {}; } ```
2025-09-12Merge pull request #1920 from a4lg/clippy-warnings-2025.09Folkert de Vries-4/+3
Make Clippy happy (batch 2025-09)
2025-09-12Merge pull request #4581 from rust-lang/rustup-2025-09-12Ralf Jung-1672/+1515
Automatic Rustup
2025-09-12examples: Make Clippy happyTsukasa OI-1/+0
2025-09-12stdarch-gen-arm: Make Clippy happyTsukasa OI-1/+1
2025-09-12intrinsic-test: Make Clippy happyTsukasa OI-2/+2
2025-09-12disable broken parts of CI for nowRalf Jung-16/+17
2025-09-12bootstrap: Show target in "No such target exists" messageJ. Neuschäfer-1/+1
This makes it a little easier to pinpoint the issue.
2025-09-12Auto merge of #146468 - Zalathar:rollup-6u3s44d, r=Zalatharbors-204/+502
Rollup of 15 pull requests Successful merges: - rust-lang/rust#144549 (match clang's `va_arg` assembly on arm targets) - rust-lang/rust#145895 (thread parking: fix docs and examples) - rust-lang/rust#146308 (support integer literals in `${concat()}`) - rust-lang/rust#146323 (check before test for hardware capabilites in bits 32~63 of usize) - rust-lang/rust#146332 (tidy: make behavior of extra-checks more uniform) - rust-lang/rust#146374 (Update `browser-ui-test` version to `0.22.2`) - rust-lang/rust#146413 (Improve suggestion in case a bare URL is surrounded by brackets) - rust-lang/rust#146426 (Bump miow to 0.60.1) - rust-lang/rust#146432 (Implement `Socket::take_error` for Hermit) - rust-lang/rust#146433 (rwlock tests: fix miri macos test regression) - rust-lang/rust#146435 (Change the default value of `gcc.download-ci-gcc` to `true`) - rust-lang/rust#146439 (fix cfg for poison test macro) - rust-lang/rust#146448 ([rustdoc] Correctly handle literal search on paths) - rust-lang/rust#146449 (Fix `libgccjit` symlink when we build GCC locally) - rust-lang/rust#146455 (test: remove an outdated normalization for rustc versions) r? `@ghost` `@rustbot` modify labels: rollup
2025-09-12sort array trait implementation suggestions correctlycyrgani-11/+23
2025-09-12Rollup merge of #146455 - cuviper:no-rustc-version, r=jieyouxuStuart Cook-3/+2
test: remove an outdated normalization for rustc versions These "you are using $RUSTC_VERSION" help messages were removed in rust-lang/rust#142943, but rust-lang/rust#142681 started before that and merged later, so its normalization is vestigial.