about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-05-15[win][CI] Convert paths to Windows format before adding to PATHDaniel Paoliello-3/+3
2025-05-15Auto merge of #141011 - matthiaskrgr:rollup-4uwllo2, r=matthiaskrgrbors-46/+194
Rollup of 7 pull requests Successful merges: - #140827 (Do not ICE when reassigning in GatherLocalsVisitor on the bad path) - #140904 (Add an issue template for future-incompatible lints) - #140953 (Fix a compiletest blessing message) - #140973 (Update rustix to 1.0.7 for bootstrap) - #140976 (Add `Ipv4Addr` and `Ipv6Addr` diagnostic items) - #140988 (MaybeUninit::write: fix doc) - #140989 (Suggest replace f with f: Box<f> when expr field is short hand) r? `@ghost` `@rustbot` modify labels: rollup
2025-05-15Auto merge of #141023 - jieyouxu:temp-windows-server-2022, r=marcoienibors-2/+8
Temporarily use Windows Server 2022 instead of Windows Server 2025 images Tracking issue: https://github.com/rust-lang/rust/issues/141022 At the moment, it seems like Windows Server 2025 20250504.1.0 is misconfigured, causing insufficient disk space failures. Temporarily go back to Windows Server 2022 in the hope that those are not also misconfigured to try to unblock the queue. r? `@marcoieni` (or infra-ci)
2025-05-15Temporarily use Windows Server 2022 instead of Windows Server 2025 imagesJieyou Xu-2/+8
At the moment, it seems like Windows Server 2025 20250504.1.0 is misconfigured causing insufficient disk space failures. Temporarily go back to Windows Server 2022 in the hope that those are not also misconfigured.
2025-05-14Rollup merge of #140989 - xizheyin:issue-139631, r=compiler-errorsMatthias Krüger-0/+79
Suggest replace f with f: Box<f> when expr field is short hand Fixes #139631 r? compiler
2025-05-14Rollup merge of #140988 - mathisbot:docfix_maybeuninit_write, r=tgross35Matthias Krüger-1/+1
MaybeUninit::write: fix doc # Fix doc for `MaybeUninit::write` The documentation refers to the way `MaybeUninit` stores data internally. The property of not dropping content on context exit is the responsibility of `ManuallyDrop`.
2025-05-14Rollup merge of #140976 - samueltardieu:diag-ipaddr-v4v6, r=UrgauMatthias Krüger-0/+4
Add `Ipv4Addr` and `Ipv6Addr` diagnostic items They will be used in Clippy to detect runtime parsing of known-valid IP addresses.
2025-05-14Rollup merge of #140973 - Berrysoft:update-bootstrap-lock, r=jieyouxuMatthias Krüger-2/+2
Update rustix to 1.0.7 for bootstrap Another bump for bootstrap. Finally it compiles on Cygwin:) Hooray! r? ``@jieyouxu``
2025-05-14Rollup merge of #140953 - jieyouxu:compiletest-bless-msg, r=compiler-errorsMatthias Krüger-8/+12
Fix a compiletest blessing message It was showing compare mode instead of test name. Fixes #140945. Noticed in https://github.com/rust-lang/rust/pull/140622#issuecomment-2868705612.
2025-05-14Rollup merge of #140904 - ehuss:future-incompat-template, r=Mark-SimulacrumMatthias Krüger-33/+57
Add an issue template for future-incompatible lints This adds a GitHub issue template for future-incompatible lints. Most of the existing tracking issues have been using different formats with different information, and I think it would be helpful to make them a little more consistent and to ensure that sufficient information is provided. Some comments on my choices: * Added a dedicated section to describe *why* the change is being made. Many existing issues already have this, so let's standardize on it. * Have a section with a very clear example. Almost all of the existing issues have this in one form or another. * Added a "Recommendations" section, since this is something I see missing in several of the existing issues, and this is really important information IMHO. * I reworded the "When" section. The existing template mentioned that these get reviewed every 6 weeks which my understanding is not true. That's also not very helpful information to the user, since it doesn't really answer the question. I'm not sure this section will actually be useful since I suspect most of the time we don't know when it will change (there have been a few exceptions). * Clearly show the expected progression steps. Several issues already have this. * Added implementation history, which is useful for linking PRs. (IDK, this could get merged with "Steps".)
2025-05-14Rollup merge of #140827 - compiler-errors:gather-locals-twice, r=oli-obkMatthias Krüger-2/+39
Do not ICE when reassigning in GatherLocalsVisitor on the bad path Fixes https://github.com/rust-lang/rust/issues/140785 Fixes https://github.com/rust-lang/rust/issues/140730 See comment in code. r? oli-obk
2025-05-14Add `Ipv4Addr` and `Ipv6Addr` diagnostic itemsSamuel Tardieu-0/+4
They will be used in Clippy to detect runtime parsing of known-valid IP addresses.
2025-05-14Suggest replace `f` with `f: Box<f>` when expr field is short handxizheyin-2/+23
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-05-14Add ui test suggest-box-for-expr-field-issue-139631xizheyin-0/+58
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-05-14MaybeUninit::write: fix docMathis Bottinelli-1/+1
2025-05-14Update rustix to 1.0.7 for bootstrap王宇逸-2/+2
2025-05-13Auto merge of #140921 - Berrysoft:update-rustc-lock, r=jieyouxubors-7/+7
Update `ctrlc`, `libloading` and `nix` for rustc The main purpose is to update `nix` to 0.30.1. It adds support for cygwin.
2025-05-13Auto merge of #140887 - pietroalbini:pa-bootstrap-update, r=compiler-errorsbors-1016/+780
Stage0 bootstrap update This PR [follows the release process](https://forge.rust-lang.org/release/process.html#master-bootstrap-update-tuesday) to update the stage0 compiler. The only thing of note is https://github.com/rust-lang/rust/commit/58651d1b316e268fac2100c3ae37bb502a36b8ba, which was flagged by clippy as a correctness fix. I think allowing that lint in our case makes sense, but it's worth to have a second pair of eyes on it. r? `@Mark-Simulacrum`
2025-05-13Format and skip formatting for pinMichael Goulet-2/+3
2025-05-13bump compiler_builtinsPietro Albini-4/+4
2025-05-13Auto merge of #140951 - compiler-errors:super-fmt, r=ytmimibors-0/+5
Do not remove `super` keyword from `super let` This is affecting a macro in the standard library: https://github.com/rust-lang/rust/blob/bc7512ee6309ee7e8cacf87b94aa6d1f550c9d99/library/core/src/pin.rs#L1945 I added an exception in 6f6a9a585891d0a2d1114a7a621f35f28f39c0d9, but I'd like to remove it eventually, so opening this in-tree to not block this on the next rustfmt sync. r? `@calebcartwright` or `@ytmimi`
2025-05-13Auto merge of #140935 - omahs:patch-5, r=jieyouxubors-23/+23
Fix typos Fix typos
2025-05-13Auto merge of #140927 - mejrs:test5, r=jieyouxubors-36/+36
chore: move more ui tests r? `@jieyouxu`
2025-05-12Auto merge of #140909 - fmease:modern-notif-backport-rustdoc, r=apirainobors-4/+4
Use new form for T-rustdoc's {beta,stable}-{nominated,accepted} notify-Zulip triggers Applies [#t-rustdoc > PSA: New actions on backport notifs @ 💬](https://rust-lang.zulipchat.com/#narrow/channel/266220-t-rustdoc/topic/PSA.3A.20New.20actions.20on.20backport.20notifs/near/514823133). Complements #140397. r? `@apiraino` or T-triagebot
2025-05-12Auto merge of #140914 - Zalathar:asm-bindings, r=compiler-errorsbors-109/+89
cg_llvm: Clean up some inline assembly bindings This PR combines a few loosely-related cleanups to LLVM bindings related to inline assembly. These include: - Replacing `LLVMRustInlineAsm` with LLVM-C's `LLVMGetInlineAsm` - Adjusting FFI declarations to avoid the need for explicit `as_c_char_ptr` conversions - Flattening control flow in `inline_asm_call` There should be no functional changes.
2025-05-12Fix typosomahs-23/+23
2025-05-12compiletest: fix "blessing" messageJieyou Xu-8/+12
It was showing compare mode instead of test name.
2025-05-12Do not remove super keyword from super-letMichael Goulet-0/+5
2025-05-12Move more tests/ui testsmejrs-36/+36
2025-05-12Auto merge of #140941 - ferrocene:ja/gh140939-fix-async-drop-test, ↵bors-1/+4
r=petrochenkov ui/async-drop-initial: factor in panic strategy in destructor size check the size of `AsyncStruct`'s destructor depends on whether the configured panic strategy is 'unwind' or 'abort' so factor that into the test using conditional compilation fixes rust-lang/rust#140939 fixes rust-lang/rust#140493
2025-05-12manual clippy fixesPietro Albini-0/+1
2025-05-12./x clippy ci --fixPietro Albini-40/+39
2025-05-12x86_64-lynx-lynxos178 is now present in the stage0Pietro Albini-1/+0
2025-05-12update cfg(bootstrap)Pietro Albini-452/+216
2025-05-12update stage0 compilerPietro Albini-460/+460
2025-05-12update version placeholdersPietro Albini-58/+58
2025-05-12ui/async-drop-initial: factor in panic strategy in destructor size checkJorge Aparicio-1/+4
the size of `AsyncStruct`'s destructor depends on whether the configured panic strategy is 'unwind' or 'abort' so factor that into the test using conditional compilation fixes rust-lang/rust#140939
2025-05-12Use new form for T-rustdoc's {beta,stable}-{nominated,accepted} notify-Zulip ↵León Orell Valerian Liehr-4/+4
triggers
2025-05-12Auto merge of #140934 - ↵bors-2/+0
yotamofek:pr/fix-default-compiler-bootstrap-settings, r=onur-ozkan Silence warning in default compiler bootstrap settings Fixes #140928
2025-05-12Silence warning in default compiler bootstrap settingsYotam Ofek-2/+0
2025-05-12Auto merge of #140925 - the8472:test-140207, r=compiler-errorsbors-0/+13
add regression test for 140207 Assembly test for #140207
2025-05-12Auto merge of #140923 - Zalathar:operand-bundle, r=lcnrbors-17/+18
cg_llvm: Rename `OperandBundleOwned` to `OperandBundleBox` As with `DIBuilderBox`, the "Box" suffix does a better job of communicating that this is an owning pointer to some borrowable resource. This also renames the `raw` method to `as_ref`, which is what it would have been named originally if the `Deref` problem (#137603) had been known at the time. No functional change.
2025-05-11Auto merge of #140842 - tmiasko:print-mono-items, r=saethlinbors-111/+74
Remove mono item collection strategy override from -Zprint-mono-items Previously `-Zprint-mono-items` would override the mono item collection strategy. When debugging one doesn't want to change the behaviour, so this was counter productive. Additionally, the produced behaviour was artificial and might never arise without using the option in the first place (`-Zprint-mono-items=eager` without `-Clink-dead-code`). Finally, the option was incorrectly marked as `UNTRACKED`. Resolve those issues, by turning `-Zprint-mono-items` into a boolean flag that prints results of mono item collection without changing the behaviour of mono item collection. For codegen-units test incorporate `-Zprint-mono-items` flag directly into compiletest tool. Test changes are mechanical. `-Zprint-mono-items=lazy` was removed without additional changes, and `-Zprint-mono-items=eager` was turned into `-Clink-dead-code`. Linking dead code disables internalization, so tests have been updated accordingly.
2025-05-11Auto merge of #140899 - oyvindln:update_coverage_dump_deps, r=Zalatharbors-19/+4
Update miniz_oxide dependency of coverage_dump This was the final subproject that depended on ```miniz_oxide``` 0.7.x after the rest were when updating the ```backtrace-rs``` dependency in in #140705. Older versions of ```miniz_oxide``` got hit by a [serious](https://github.com/rust-lang/rust/issues/132636) performance regression in rust 1.82 (which has been worked around in more recent versions of the library) so should really be avoided if possible (granted it only affects compression so not sure if it had much impact in practice here, though there have also been some other performance improvements since .) This also means no longer having to build two versions of miniz_oxide as everything can now use the same version, and no longer needing to build both ```adler``` and ```adler2```
2025-05-11Auto merge of #140915 - matthiaskrgr:rollup-lxce4zr, r=matthiaskrgrbors-25/+523
Rollup of 3 pull requests Successful merges: - #140397 (Add T-compiler backports Zulip notifications) - #140851 (Warn when `#[export_name]` is used with generic functions) - #140862 (Enable non-leaf Frame Pointers for Arm64EC Windows) r? `@ghost` `@rustbot` modify labels: rollup
2025-05-11Add an issue template for future-incompatible lintsEric Huss-33/+57
2025-05-11add regression test for 140207The 8472-0/+13
2025-05-11Rename `OperandBundleOwned` to `OperandBundleBox`Zalathar-17/+18
As with `DIBuilderBox`, the "Box" suffix does a better job of communicating that this is an owning pointer to some borrowable resource. This also renames the `raw` method to `as_ref`, which is what it would have been named originally if the `Deref` problem had been known at the time.
2025-05-11Update ctrlc & libloading for rustc王宇逸-7/+7
2025-05-11Auto merge of #140902 - azhogin:azhogin/async-drop-open-drop-for-adt-fix, ↵bors-0/+24
r=oli-obk Async drop fix for async_drop_in_place<T> layout for unspecified T Fix for https://github.com/rust-lang/rust/issues/140423. Layout of `async_drop_in_place<T>::{closure}` is calculated for unspecified T from dataflow_const_prop `try_make_constant`. `@oli-obk,` do you think, it may be a better solution to add check like `if !args[0].is_fully_specialized() { return None; }` in `fn async_drop_coroutine_layout`? And could you, pls, recommend, how to implement `is_fully_specialized()` in a most simple way?