about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-08-03Merge pull request #20371 from Hmikihiro/migrate_generate_trait_from_implLukas Wirth-34/+35
Migrate `generate_trait_from_impl` assist to use `SyntaxEditor`
2025-08-03Migrate `generate_trait_from_impl` assist to use `SyntaxEditor`Hmikihiro-34/+35
2025-08-03fix option-if-let-else lint (#15394)Jason Newcomb-5/+51
some simple twists Fixes rust-lang/rust-clippy#15002 Fixes rust-lang/rust-clippy#15379 changelog: [`option_if_let_else`]: Don't remove raw pointer derefs in suggestions changelog: [`option_if_let_else`]: Don't suggest passing argless functions to `Result::map_or_else`
2025-08-03Merge pull request #20368 from Hmikihiro/migrate_delegate_methodsLukas Wirth-36/+41
Migrate `generate_delegate_methods` assist to use `SyntaxEditor`
2025-08-03Merge pull request #20364 from Hmikihiro/migrate_convert_from_to_tryfromLukas Wirth-19/+23
Migrate `convert_from_to_tryfrom` assist to use `SyntaxEditor`
2025-08-03Simplify boolean expression in `manual_assert` (#15368)Jason Newcomb-15/+9
Fixes rust-lang/rust-clippy#15359 changelog: [`manual_assert`]: simplify boolean expression
2025-08-03Auto merge of #144677 - nnethercote:bound-const-handling, r=lcnrbors-97/+123
Improve bound const handling A few changes to make const handling more similar to type handling. r? `@compiler-errors` -errors
2025-08-03there is still no official policyTshepang Mbambo-1/+1
2025-08-03Merge pull request #2509 from rust-lang/tshepang-auto-tocTshepang Mbambo-147/+198
make toc generation fully automatic
2025-08-03Change `TestCx::error` to `error_prefix`, which returns a stringZalathar-14/+22
This reduces the amount of "hidden" printing in error-reporting code, which will be helpful when overhauling compiletest's error handling and output capture.
2025-08-03Consolidate all `ProcRes` unwinds into one code pathZalathar-27/+29
2025-08-03Change `ProcRes::print_info` to `format_info`Zalathar-5/+6
This method now returns a string instead of printing directly to (possibly-captured) stdout.
2025-08-03Merge pull request #1893 from folkertdev/loongarch-gccSayantan Chakraborty-11/+11
use gcc 15 as the linker on loongarch
2025-08-03Simplify lint emission.Camille GILLOT-74/+56
2025-08-03Keep scanned set across calls to mark_live_symbols.Camille GILLOT-2/+3
2025-08-03Use less HIR when seeding work list.Camille GILLOT-90/+50
2025-08-03Simplify handling of unsolved items.Camille GILLOT-52/+38
2025-08-03Remove struct_constructors.Camille GILLOT-34/+12
2025-08-03cargo updategithub-actions-58/+59
compiler & tools dependencies: Locking 14 packages to latest compatible versions Updating clap v4.5.41 -> v4.5.42 Updating clap_builder v4.5.41 -> v4.5.42 Updating jsonpath-rust v1.0.3 -> v1.0.4 Updating libredox v0.1.6 -> v0.1.9 Updating object v0.37.1 -> v0.37.2 Updating redox_syscall v0.5.16 -> v0.5.17 Updating redox_users v0.5.0 -> v0.5.2 Updating rustc-demangle v0.1.25 -> v0.1.26 Updating serde_json v1.0.141 -> v1.0.142 Updating wasm-encoder v0.235.0 -> v0.236.0 Updating wasmparser v0.235.0 -> v0.236.0 Updating wast v235.0.0 -> v236.0.0 Updating wat v1.235.0 -> v1.236.0 Updating windows-targets v0.53.2 -> v0.53.3 note: pass `--verbose` to see 36 unchanged dependencies behind latest library dependencies: Locking 3 packages to latest compatible versions Updating object v0.37.1 -> v0.37.2 Updating rustc-demangle v0.1.25 -> v0.1.26 Updating unwinding v0.2.7 -> v0.2.8 note: pass `--verbose` to see 2 unchanged dependencies behind latest rustbook dependencies: Locking 6 packages to latest compatible versions Updating cc v1.2.30 -> v1.2.31 Updating clap v4.5.41 -> v4.5.42 Updating clap_builder v4.5.41 -> v4.5.42 Updating redox_syscall v0.5.16 -> v0.5.17 Updating serde_json v1.0.141 -> v1.0.142 Updating windows-targets v0.53.2 -> v0.53.3
2025-08-02Auto merge of #144814 - samueltardieu:rollup-qyum1hj, r=samueltardieubors-523/+1500
Rollup of 17 pull requests Successful merges: - rust-lang/rust#132748 (get rid of some false negatives in rustdoc::broken_intra_doc_links) - rust-lang/rust#143360 (loop match: error on `#[const_continue]` outside `#[loop_match]`) - rust-lang/rust#143662 ([rustdoc] Display unsafe attrs with edition 2024 `unsafe()` wrappers.) - rust-lang/rust#143771 (Constify some more `Result` functions) - rust-lang/rust#144185 (Document guarantees of poisoning) - rust-lang/rust#144395 (update fortanix tests) - rust-lang/rust#144478 (Improve formatting of doc code blocks) - rust-lang/rust#144614 (Fortify RemoveUnneededDrops test.) - rust-lang/rust#144703 ([test][AIX] ignore extern_weak linkage test) - rust-lang/rust#144747 (compiletest: Improve diagnostics for line annotation mismatches 2) - rust-lang/rust#144756 (detect infinite recursion with tail calls in ctfe) - rust-lang/rust#144766 (Add human readable name "Cygwin") - rust-lang/rust#144782 (Properly pass path to staged `rustc` to `compiletest` self-tests) - rust-lang/rust#144786 (Cleanup the definition of `group_type`) - rust-lang/rust#144796 (Add my previous commit name to .mailmap) - rust-lang/rust#144797 (Update safety comment for new_unchecked in niche_types) - rust-lang/rust#144803 (rustc-dev-guide subtree update) r? `@ghost` `@rustbot` modify labels: rollup
2025-08-02Use DefKind in should_explore.Camille GILLOT-10/+34
2025-08-03Check that all configuration options reference existing lintsSamuel Tardieu-0/+30
2025-08-03Remove references to two unknown lints in configSamuel Tardieu-4/+0
`option_map_unwrap_or` and `seek_rewind` are not current lints, and cannot be referenced as having the `msrv` configuration option.
2025-08-02updated line number in testIsaac Chen-1/+1
2025-08-02moved new test to updated test locationIsaac Chen-39/+8
2025-08-02corrected lifetime in core::panic::Location::file return typeIsaac Chen-1/+1
2025-08-02fix: `option_if_let_else` don't suggest argless function for Result::map_or_elseZihan-4/+29
closes rust-clippy/issues/15002 Signed-off-by: Zihan <zihanli0822@gmail.com>
2025-08-02Auto merge of #144774 - BoxyUwU:bump_1_91, r=BoxyUwUbors-1/+1
Bump to 1.91 https://forge.rust-lang.org/release/process.html#bump-the-stable-version-number-friday-the-week-before r? ghost
2025-08-02added regression test for `core::panic::Location::file`'s lifetimeIsaac Chen-0/+39
2025-08-02corrected lifetime in core::panic::Location::file return typeIsaac Chen-1/+1
2025-08-02Rehome tests/ui/issues/ tests [2/?]Oneirical-78/+52
2025-08-02Do not record derived impl def-id for dead code.Camille GILLOT-17/+11
2025-08-02Method probe: check doc aliases after edit distance.Camille GILLOT-6/+3
2025-08-02Merge pull request #20351 from ChayimFriedman2/rename-self1Lukas Wirth-25/+186
feat: When renaming a parameter to `self`, change callers to use method call syntax
2025-08-02When renaming a parameter to `self`, change callers to use method call syntaxChayim Refael Friedman-25/+186
2025-08-02Merge pull request #20358 from iorizu/issue-20346Chayim Refael Friedman-13/+29
minor: Fix documentation for `*.overrideCommand` config options
2025-08-02Change visibility of Args new functionChristopher Hotchkiss-1/+1
Currently the Args new function is scope constrained to pub(super) but this stops me from being able to construct Args structs in unit tests.
2025-08-03Migrate `generate_delegate_methods` assist to use `SyntaxEditor`Hmikihiro-36/+41
2025-08-02fix: `option_if_let_else` keep deref op if the inner expr is a raw pointerZihan-2/+23
closes rust-clippy/issues/15379 Signed-off-by: Zihan <zihanli0822@gmail.com>
2025-08-02update linksKivooeo-2/+2
2025-08-02update flags for consistencyKivooeo-2/+3
2025-08-02Merge pull request #2531 from Kivooeo/update-docBoxy-7/+5
Update documentation for current tests requirements
2025-08-02Implement SIMD funnel shiftsAntoni Boucher-0/+78
2025-08-02update docKivooeo-7/+5
2025-08-02Return a struct with named fields from `hash_owner_nodes`Zalathar-5/+21
2025-08-02Flatten `hash_owner_nodes` with an early-returnZalathar-21/+21
2025-08-02use gcc 15 as the linker on loongarchFolkert de Vries-11/+11
2025-08-02Extend `implicit_clone` to handle `to_string` calls (#14177)Timo-285/+61
Put another way, merge `string_to_string` into `implicit_clone`, as suggested here: https://github.com/rust-lang/rust-clippy/issues/14173#issuecomment-2645846915 Note: [I wrote](https://github.com/rust-lang/rust-clippy/commit/b8913894a13431bea99400dc9f53a1fd9f41a6c6) this comment: https://github.com/rust-lang/rust-clippy/blob/6cdb7f68c39a2458c6b8f6dc63da4123a6a5af89/clippy_lints/src/methods/implicit_clone.rs#L43-L45 Here is the context for why I wrote it: https://github.com/rust-lang/rust-clippy/pull/7978#discussion_r769128853 Regardless, it's probably time for the comment to go away. Extending `implicit_clone` to handle `to_string` calls yields many hits within Clippy's codebase. changelog: extend `implicit_clone` to handle `to_string` calls
2025-08-02`{flat_,}map_identity`: recognize (tuple) struct de- and restructuring (#15261)Timo-13/+200
Follow-up of rust-lang/rust-clippy#15229, as described in https://github.com/rust-lang/rust-clippy/pull/15229#issuecomment-3050279790 -- it turned out to be not that difficult after all! changelog: [`map_identity`,`flat_map_identity`]: also recognize (tuple) struct de- and resctructuring r? @y21
2025-08-02c-variadic: multiple ABIs in the same program for armFolkert de Vries-0/+78