about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-07-26Migrate PathTransform to SyntaxEditorHayashi Mikihiro-86/+168
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-26add Debug on AstSubst PathTransform.rsHayashi Mikihiro-1/+2
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-26test: add test case for fold doc comment for multiline param list fnYoung-Flash-0/+17
2025-07-26fix fold doc comment for multiline param list fnYoung-Flash-4/+6
2025-07-26Auto merge of #139597 - Kobzol:lint-skip, r=BoxyUwUbors-4/+13
Do not run per-module late lints if they can be all skipped We run ~70 late lints for all dependencies even if they use `--cap-lints=allow`, which seems wasteful. It looks like these lints are super fast (unlike early lints), but still. r? `@ghost`
2025-07-25str: Mark unstable `round_char_boundary` feature functions as constokaneco-14/+26
Mark `floor_char_boundary`, `ceil_char_boundary` const Simplify the implementations, reducing the number of arithmetic operations
2025-07-26Revert "coverage: Enlarge empty spans during MIR instrumentation, not codegen"Zalathar-57/+46
This reverts commit f877aa7d14916f71a2f88c6d4c009e7ded7684c4.
2025-07-25Remove `compiler-builtins-mangled-names`Trevor Gross-3/+0
This config was added in 207de019dc67 ("libary: Forward compiler-builtins "asm" and "mangled-names" feature") but it does not appear this has ever been used. The PR adding it (RUST-78472) says that this was exposed to help with configuration and points at the [Hermit Cargo config], but as far as I can tell, this feature name has never been mentioned in that repository's git history. Thus, clean up a seemingly unneeded feature. [Hermit Cargo config]: https://github.com/hermit-os/hermit-rs/blob/ab2b830930e6a9a98c8294997a8183feeabeda4a/.cargo/config
2025-07-26Don't lint against named labels in `naked_asm!`Amanieu d'Antras-31/+47
Naked functions are allowed to define global labels, just like `global_asm!`.
2025-07-25Check statics' type in type_of.Camille GILLOT-288/+276
2025-07-25Auto merge of #144338 - weihanglo:update-cargo, r=weihanglobors-0/+1
Update cargo 8 commits in 6833aa715d724437dc1247d0166afe314ab6854e..9b296973b425ffb159e12cf3cd56580fd5c85382 2025-07-13 02:25:52 +0000 to 2025-07-25 17:10:08 +0000 - Allow using Cargo-as-a-library with gix's reqwest backend (rust-lang/cargo#15653) - Make timings graphs scalable to user's window (rust-lang/cargo#15766) - refactor: rename arg `mode` to `intent` (rust-lang/cargo#15774) - fix: `no-proc-macro` is overridden by subsequent edges (rust-lang/cargo#15764) - Use `gix` for `cargo package` (rust-lang/cargo#15534) - cargo-credential-libsecret: give FFI correctly-sized object (rust-lang/cargo#15767) - Remove unnecessary target-c-int-width from target specs (rust-lang/cargo#15759) - Expose artifact dependency getters in cargo-as-a-library (rust-lang/cargo#15753)
2025-07-25Look at layout for completeness.Camille GILLOT-8/+60
2025-07-26Implement support for explicit tail calls in the MIR block builders and the ↵Joel Wejdenstål-0/+21
LLVM codegen backend.
2025-07-26Implement support for explicit tail calls in the MIR block builders and the ↵Joel Wejdenstål-12/+191
LLVM codegen backend.
2025-07-25Merge PR: Stabilization template, docsTravis Cross-237/+443
This is PR: https://github.com/rust-lang/rustc-dev-guide/pull/2219
2025-07-25Revise content on lang feature processesTravis Cross-263/+333
Let's revise both the new content in this PR as well as the remaining text in the relevant chapters so as to better describe our current processes related to language features and their stabilizations. For the new stabilization report template, based on reviewing its early use and well as reviewing earlier stabilization reports, we've revised it editorially and added questions designed to capture additional details to which we commonly want people to speak.
2025-07-25Address review feedbackJieyou Xu-51/+124
- Address Call for Testing review feedback - Address Affiliated work review feedback - Drop "stabilization is easy" part - Fix broken feature gate examples - Elaborate on stabilization report summarization aspects - Recommend waiting a bit for team nominations - Make Stabilization Template markdown copy friendly - Register stabilization report template - Drop unfinished sentence - Clarify stabilization report template is for language features - Add test coverage elaboration - Add UB checks / opt question - Amend test coverage explanation - Mention OSS nightly users
2025-07-25Address review feedbackNiko Matsakis-5/+5
Co-authored-by: lcnr <rust@lcnr.de> Co-authored-by: Ralf Jung <post@ralfj.de> Co-authored-by: waffle <waffle.lapkin@gmail.com>
2025-07-25Add stabilization template and revise docsNiko Matsakis-36/+99
2025-07-26`loop_match`: suggest extracting to a `const` itemFolkert de Vries-4/+297
if the expression cannot be evaluated in a straightforward way
2025-07-25Remove `compiler-builtins-no-asm`Trevor Gross-3/+0
This feature used to be for when Cranelift didn't support inline assembly, but its last uses were removed in 52933e0bd200 ("Don't disable inline asm usage in compiler-builtins when the cranelift backend is enabled"). and cba05a7a14b3 ("Support naked functions"). This doesn't remove the feature from the `compiler-builtins` crate, that will be done separately in the subtree repo.
2025-07-25clif: Don't set the `compiler-builtins-no-f16-f128` featureTrevor Gross-5/+0
Since rust-lang/rust be35d37d8b6c ("Use the compiler to determine whether or not to enable f16 and f128"), `compiler-builtins` relies on `rustc` to report whether or not `f16` and `f128` are supported, which is reported by the backend. This means that there should no longer be any need to unconditionally disable the types for clif in Bootstrap. Backend config: https://github.com/rust-lang/rust/blob/a955f1cd09a027363729ceed919952d09f76f28e/compiler/rustc_codegen_cranelift/src/lib.rs#L224-L233
2025-07-25Merge pull request #1863 from folkertdev/combine-rust-filesSayantan Chakraborty-258/+294
`intrinsic-test`: combine rust files for faster compilation
2025-07-25Update ui tests with new macro early erroringGuillaume Gomez-245/+303
2025-07-25Add missing `NOTE` annotations in `tests/ui/macros/trace-macro.rs`Guillaume Gomez-0/+3
2025-07-25Stop compilation if macro expansion failedGuillaume Gomez-4/+17
2025-07-26resolve: Do not create `NameResolution`s on access unless necessaryVadim Petrochenkov-15/+23
2025-07-25Update cargoWeihang Lo-0/+1
ring is brought into Cargo transitively because Cargo now provides optional (unstable) reqwest HTTP backend.
2025-07-26resolve: Minimize borrow scopes for `resolutions`Vadim Petrochenkov-49/+46
2025-07-25Get myself back on assignment rotation (#15346)Samuel Tardieu-1/+0
changelog: none
2025-07-25Get myself back on assignment rotationSamuel Tardieu-1/+0
2025-07-25add //@ needs-unwind to testbeepster4096-0/+1
2025-07-25Update mir-opt expected output for matches! macroJonas Platte-10/+26
2025-07-25Only run bootstrap tests in `x test` on CIJakub Beránek-1/+5
2025-07-25Allow pretty printing paths with `-Zself-profile-events=args`Jakub Beránek-0/+24
2025-07-25change_tracker: fix a typoMaksim Bondarenkov-1/+1
there is no `llvm.lld` option
2025-07-25span_bug instead of handling currently impossible drop casebeepster4096-7/+8
2025-07-25async drop tests for boxbeepster4096-0/+255
2025-07-25fix box destructor generationbeepster4096-27/+295
2025-07-25canonicalize build root in `tests/run-make/linker-warning`Waffle Lapkin-1/+3
2025-07-25Auto merge of #144449 - flip1995:clippy-subtree-update, r=Manishearthbors-1125/+3791
Clippy subtree update r? `@Manishearth`
2025-07-25Add a note on foreign exceptionsAlisa Sireneva-0/+3
2025-07-25Mention type that could be `Clone` but isn't in more casesEsteban Küber-0/+364
When encountering a moved value of a type that isn't `Clone` because of unmet obligations, but where all the unmet predicates reference crate-local types, mention them and suggest cloning, as we do in other cases already: ``` error[E0507]: cannot move out of `foo`, a captured variable in an `Fn` closure --> f111.rs:14:25 | 13 | fn do_stuff(foo: Option<Foo>) { | --- captured outer variable 14 | require_fn_trait(|| async { | -- ^^^^^ `foo` is moved here | | | captured by this `Fn` closure 15 | if foo.map_or(false, |f| f.foo()) { | --- | | | variable moved due to use in coroutine | move occurs because `foo` has type `Option<Foo>`, which does not implement the `Copy` trait | note: if `Foo` implemented `Clone`, you could clone the value --> f111.rs:4:1 | 4 | struct Foo; | ^^^^^^^^^^ consider implementing `Clone` for this type ... 15 | if foo.map_or(false, |f| f.foo()) { | --- you could clone this value ```
2025-07-25Add a list of failure conditions for poisoningAlisa Sireneva-4/+19
2025-07-25rename ext_tool_checks to extra_checks and use mod.rsbinarycat-3/+3
this makes the triagebot pings for this module simpler
2025-07-25Unify LLVM ctlz/cttz intrinsic generationTobias Decking-19/+9
2025-07-25Merge pull request #20293 from Hmikihiro/migrate_replace_derive_with_manual_implShoyu Vanilla (Flint)-238/+319
Migrate `replace derive with manual impl` and `add_missing_impl_members` to use `SyntaxEditor`
2025-07-25commentsKivooeo-38/+89
2025-07-25move 28 testsKivooeo-0/+0
2025-07-25Allow ffi_unwind_calls for `arch::wasm32::throw`Alisa Sireneva-0/+10