about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-08-06Merge pull request #20393 from rust-lang/veykril/push-urpzrkwpkmxwLukas Wirth-29/+29
Fix non-lsp compliant `Response` definition
2025-08-06[codegen] assume the tag, not the relative discriminantScott McMurray-56/+84
2025-08-06Avoid using unadjusted ABI for the thread-local shimbjorn3-1/+1
This restricts the uses of the unadjusted ABI to LLVM intrinsics. The Rust ABI works fine for the thread-local shim as it always returns pointers directly like the backend expects.
2025-08-06Change adjust_for_rust_scalar into arg_attrs_for_rust_scalarbjorn3-16/+9
Directly creating the ArgAttributes rather than adjusting one is a bit clearer.
2025-08-06Remove CSS bootstrap dependency (#15251)Philipp Krones-67/+337
Follow-up of https://github.com/rust-lang/rust-clippy/pull/15208. This PR removes the CSS `bootstrap` dependency which contains 1504 CSS rules and weights 16.1 kB minified. Considering we used less than 50 of these rules, it's quite a waste. So this time, there are minor UI changes: * The "expand/collapse all" buttons icon changed. It now uses the one from font-awesome. It's quite close but not exactly the same. * The layout is slightly different (you need to switch between two tabs to actually see the difference). Before this PR: <img width="719" height="515" alt="image" src="https://github.com/user-attachments/assets/1f067046-4ee9-49ee-bf38-50a8bf9888f2" /> With this PR: <img width="719" height="515" alt="image" src="https://github.com/user-attachments/assets/80331c98-1a1e-418f-b481-5b3f5c276926" /> With this, we will be able to go even further on reducing the page size next. =D This time, the DOM size itself reduced a bit but the difference is too small to be noteworthy. r? @samueltardieu changelog: Remove CSS bootstrap dependency
2025-08-06Fix non-lsp compliant `Response` definitionLukas Wirth-29/+29
2025-08-06tidyBoxy-183/+173
2025-08-06Merge pull request #20392 from rust-lang/veykril/push-pxplxplxvvyyLukas Wirth-4/+8
Report the incorrect payload when failing to deserialize lsp messages
2025-08-06Report the incorrect payload when failing to deserialize lsp messagesLukas Wirth-4/+8
2025-08-06Add regression test for rustdoc scrape-examples feature crash (#144752)Guillaume Gomez-0/+35
2025-08-06Change stdlib float tests to account for miri nondet floats.LorrensP-2158466-35/+35
2025-08-06Fix rustdoc scrape-examples feature crashGuillaume Gomez-4/+6
2025-08-06Fix build/doc/test of error index generatorJakub Beránek-87/+124
It is essentially a RustcPrivate tool, so it should be treated as such using the new `RustcPrivateCompilers` infra.
2025-08-06Track names of existentialsAmanda Stjerna-6/+8
2025-08-06Clarify EOF handling for `BufRead::skip_until`ginnyTheCat-2/+7
2025-08-06Proposed formatAmanda Stjerna-3/+3
2025-08-06Optimize `incompatible_msrv` lintSamuel Tardieu-13/+12
This limits repeated lookups in pre-checks (to determine if a MSRV should be checked), especially when those require locking up an interner: - The `core` crate is looked up once when creating the lint, instead of comparing the crate name with `sym::core` at every check. - `span.ctxt().outer_expn_data()` is lookup up only once.
2025-08-06Remove unused field from ModuleConfigbjorn3-5/+1
2025-08-06Include allocator module in LLVM_passes timerbjorn3-33/+30
2025-08-06Rollup merge of #144978 - ehuss:intrinsic-doc-links, r=scottmcmJakub Beránek-4/+4
Fix some doc links for intrinsics This fixes a few intrinsic docs that had a link directly to itself instead of to the correct function in the `mem` module.
2025-08-06Rollup merge of #144971 - okaneco:rename_isolate_ones, r=joshtriplettJakub Beránek-38/+38
num: Rename `isolate_most_least_significant_one` functions Tracking issue - https://github.com/rust-lang/rust/issues/136909 libs-api has agreed to rename these unstable functions to `isolate_highest_one`/`isolate_lowest_one` https://github.com/rust-lang/rust/issues/136909#issuecomment-3156005820 `isolate_most_significant_one` -> `isolate_highest_one` `isolate_least_significant_one` -> `isolate_lowest_one`
2025-08-06Rollup merge of #144954 - Zalathar:run-make-bless, r=jieyouxuJakub Beránek-1/+10
run-make: Allow blessing snapshot files that don't exist yet This makes it possible to bless the snapshot files used by `diff()` in newly-created run-make tests, without having to create the files manually beforehand. r? jieyouxu
2025-08-06Rollup merge of #144945 - WaffleLapkin:autolabeletc, r=WaffleLapkinJakub Beránek-0/+5
Autolabel PRs that change explicit tail call tests as `F-explicit_tail_calls` mrrrow~
2025-08-06Rollup merge of #144928 - cuviper:rustc_thread_pool-msrv, r=lqdJakub Beránek-1/+0
Drop `rust-version` from `rustc_thread_pool` The current `rust-version = "1.63"` was inherited from rayon, but it doesn't make sense to limit this in the compiler workspace. Having any setting at all has effects on tools like `cargo info` that try to infer the MSRV when the workspace itself doesn't specify it. Since we are the compiler, our only MSRV is whatever bootstrapping requires.
2025-08-06Rollup merge of #144926 - JonathanBrouwer:fix-mustuse, r=cuviperJakub Beránek-1/+1
Correct the use of `must_use` on btree::IterMut I'm working on stricter target checking for attributes and found this one
2025-08-06Rollup merge of #144924 - lolbinarycat:compiletest-pass-directives-hint, ↵Jakub Beránek-1/+1
r=clubby789 compiletest: add hint for when a ui test produces no errors
2025-08-06Rollup merge of #144913 - GuillaumeGomez:fix-wrong-i-icon, r=fmeaseJakub Beránek-2/+35
[rustdoc] Fix wrong `i` tooltip icon Current wrong display: <img width="334" height="37" alt="Screenshot From 2025-08-04 17-42-38" src="https://github.com/user-attachments/assets/57046475-6162-487f-998f-ebb2434c111d" /> With the fix: <img width="334" height="37" alt="image" src="https://github.com/user-attachments/assets/e761a103-dc39-4e30-8c8e-cfc7fab52fde" /> r? ``@fmease``
2025-08-06Rollup merge of #144910 - ShoyuVanilla:add-regression-tests, r=fee1-deadJakub Beránek-0/+73
Add regression tests for seemingly fixed issues Closes rust-lang/rust#104314 Closes rust-lang/rust#125866
2025-08-06Rollup merge of #144836 - chotchki:patch-1, r=tgross35Jakub Beránek-1/+1
Change visibility of Args new function Currently the Args new function is constrained to pub(super) but this stops me from being able to construct Args structs in unit tests. This pull request is to change this to pub.
2025-08-06Rollup merge of #144676 - tiif:dev_guide_unstable_bound, r=BoxyUwUJakub Beránek-0/+3
Add documentation for unstable_feature_bound There is more detail and explanation in https://hackmd.io/``````@tiif/Byd3mq7Ige`````` Original PR that implemented this: rust-lang/rust#140399 r? ``````@BoxyUwU`````` to nominate for types team discussion
2025-08-06Rollup merge of #144552 - Oneirical:uncountable-integer-3, r=jieyouxuJakub Beránek-58/+89
Rehome 33 `tests/ui/issues/` tests to other subdirectories under `tests/ui/` rust-lang/rust#143902 divided into smaller, easier to review chunks. Part of rust-lang/rust#133895 Methodology: 1. Refer to the previously written `tests/ui/SUMMARY.md` 2. Find an appropriate category for the test, using the original issue thread and the test contents. 3. Add the issue URL at the bottom (not at the top, as that would mess up stderr line numbers) 4. Rename the tests to make their purpose clearer Inspired by the methodology that ``@Kivooeo`` was using. r? ``@jieyouxu``
2025-08-06Merge pull request #20354 from A4-Tacks/clean-lit-stmt-remove-dbgChayim Refael Friedman-0/+50
Add remove literal dbg stmt for remove_dbg
2025-08-06Add remove simple dbg stmt for remove_dbgA4-Tacks-0/+50
Remove only contain literals dbg statement ```rust fn foo() { let n = 2; $0dbg!(3); dbg!(2.6); dbg!(1, 2.5); dbg!('x'); dbg!(&n); dbg!(n); // needless comment dbg!("foo");$0 } ``` -> ```rust fn foo() { // needless comment } ``` Old: ```rust fn foo() { 3; 2.6; (1, 2.5); 'x'; &n; n; // needless comment "foo"; } ```
2025-08-06Remove unneeded `stage` parameter when setting up stdlib CargoJakub Beránek-13/+9
2025-08-06Introduce ModernIdent type to unify macro 2.0 hygiene handlingxizheyin-44/+97
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-08-06handle bootstrap cfgsBoxy-34/+12
2025-08-06Auto merge of #143679 - sebastianpoeplau:preserve-debug-gdb-scripts-section, ↵bors-75/+77
r=bjorn3 Preserve the .debug_gdb_scripts section Make sure that compiler and linker don't optimize the section's contents away by adding the global holding the data to `llvm.used`. This eliminates the need for a volatile load in the main shim; since the LLVM codegen backend is the only implementer of the corresponding trait function, remove it entirely. Pretty printers in dylib dependencies are now emitted by the main crate instead of the dylib; apart from matching how rlibs are handled, this approach has the advantage that `omit_gdb_pretty_printer_section` keeps working with dylib dependencies. r? `@bjorn3`
2025-08-06Add a few missed entriesBoxy-2/+3
2025-08-06Fix suggestion for `collapsible_if` and `collapsible_else_if` when the inner ↵llogiq-4/+163
`if` is enclosed in parentheses (#15304) changelog: [`collapsible_else_if`]: fix suggestion when inner `if` as wrapped in parentheses changelog: [`collapsible_if`]: fix suggestion when inner `if` as wrapped in parentheses fixes https://github.com/rust-lang/rust-clippy/issues/15303 I'm sure this is a bit dirty, but don't currently see a better way.
2025-08-06mir: Do not modify NonUse in `super_projection_elem`dianqk-14/+20
2025-08-06Merge pull request #2537 from jdonszelmann/wasiJana Dönszelmann-1/+22
Add instructions to test wasi (wasm32-wasip1) specific tests
2025-08-06add note on how to build wasiJana Dönszelmann-1/+22
2025-08-06coverage: Remove all unstable support for MC/DC instrumentationZalathar-3046/+30
2025-08-06simplifycfg: Mark as changed when start is modified in collapse goto chaindianqk-0/+1
2025-08-06bump stage0Boxy-480/+500
2025-08-06replace version placeholderBoxy-34/+34
2025-08-06Embed GDB pretty printers in rlibs and dylibsSebastian Poeplau-33/+23
Instead of collecting pretty printers transitively when building executables/staticlibs/cdylibs, let the debugger find each crate's pretty printers via its .debug_gdb_scripts section. This covers the case where libraries defining custom pretty printers are loaded dynamically.
2025-08-06remove redundant _toml suffix and other misc changesbit-aloo-389/+371
2025-08-06Merge pull request #20387 from ChayimFriedman2/rename-macroShoyu Vanilla (Flint)-63/+81
fix: Do not remove the original token when descending into derives
2025-08-06Remove CSS bootstrap dependencyGuillaume Gomez-55/+325