about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-07-04Remove names_imported_by_glob_use query.Camille GILLOT-1/+1
2025-07-04Merge pull request #20170 from Veykril/push-vtsmzopsunswLaurențiu Nicola-3/+12
Improve flycheck and build script progress reporting
2025-07-04declare data race and weak memory support as non-experimentalRalf Jung-2/+2
2025-07-04external-repos.md: small fixesTshepang Mbambo-3/+2
2025-07-04Document `rustc-josh-sync`Jakub Beránek-30/+52
2025-07-04Improve flycheck and build script progress reportingLukas Wirth-3/+12
2025-07-04Update CI workflow to use rustc-josh-syncJakub Beránek-5/+4
2025-07-04Remove `josh-sync` tooling and update READMEJakub Beránek-789/+5
2025-07-04Skip unnecessary `eq` work in `BodySourceMap`Lukas Wirth-11/+49
2025-07-04Merge pull request #20031 from jnyfah/some-branchLukas Wirth-35/+75
Fix: Resolve HIR display length issues and improve adjustment tooltips
2025-07-04minor: Handle match arm commas in `make::match_arm`Lukas Wirth-21/+11
Co-authored-by: Giga Bowser <45986823+Giga-Bowser@users.noreply.github.com>
2025-07-04Merge ref 'c96a69059ecc' from rust-lang/rustJakub Beránek-4519/+10960
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: c96a69059ecc618b519da385a6ccd03155aa0237 Filtered ref: 7b9552d4c39c31aabf6749629da2d4a7e6e1cd60 This merge was created using https://github.com/rust-lang/josh-sync.
2025-07-04Prepare for merging from rust-lang/rustJakub Beránek-1/+1
This updates the rust-version file to c96a69059ecc618b519da385a6ccd03155aa0237.
2025-07-04Add josh-sync config fileJakub Beránek-0/+3
2025-07-04Get rid of build-powerpc64le-toolchain.shJens Reidel-90/+7
The dist-powerpc64le-linux-musl runner never actually used the toolchain that the script produced, it instead used the one from crosstool-ng. The dist-powerpc64le-linux-gnu runner did use it, from what I can tell mainly to get a glibc 2.17 version with ppc64le support backported. Since crosstool-ng has the necessary patches, we can just use crosstool-ng to get an appropriate toolchain. While at it, use kernel 3.10 headers since that's the version documented in platform support for this target. Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-07-04Merge pull request #20148 from ShoyuVanilla/sysroot-no-depsLukas Wirth-4/+15
fix: Honor `rust-analyzer.cargo.noDeps` option when fetching sysroot metadata
2025-07-04Merge pull request #20165 from Hmikihiro/migrate-unmerge_match_armLukas Wirth-22/+20
Migrate `unmerge_match_arm` Assist to use `SyntaxEditor`
2025-07-04Merge pull request #20167 from ChayimFriedman2/enum-derive-defaultLukas Wirth-72/+190
fix: Fix some things with builtin derives
2025-07-04Merge from rustcThe Miri Cronjob Bot-258/+410
2025-07-04Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-07-04Rollup merge of #143381 - fee1-dead-contrib:push-pzxuvlnymxpu, r=GuillaumeGomezJacob Pratt-1/+14
rustdoc: don't treat methods under const impls or traits as const Fixes rust-lang/rust#143071
2025-07-04Rollup merge of #143380 - cjgillot:kw_span, r=compiler-errorsJacob Pratt-5/+5
Replace kw_span by full span for generic const parameters. Small simplification extracted from https://github.com/rust-lang/rust/pull/127241
2025-07-04Rollup merge of #143346 - emmanuel-ferdman:master, r=tshepangJacob Pratt-1/+1
update coherence example ## PR Summary Small PR - Commit 0533ff7d4169692e05d11d219c287a477a5471bb moved the `coherence_different_hidden_ty.rs` file. This PR adjusts sources to changes.
2025-07-04Rollup merge of #143288 - ehuss:fix-clean-fifo, r=KobzolJacob Pratt-1/+1
Fix `x clean` with a fifo `x clean` was failing when it encountered a special file like a fifo because it thought it was a directory.
2025-07-03adjust docs, after splitting up autodiff into two forward and reverse macrosManuel Drehwald-2/+2
2025-07-03fix: allow emccJayden Qi-1/+2
2025-07-03Add `fn load_workspace_into_db` variant for `ra_ap_load_cargo`'s `fn ↵Vincent Esche-8/+25
load_workspace`
2025-07-03Fix some things with builtin derivesChayim Refael Friedman-72/+190
1. Err on unions on derive where it's required. 2. Err on `#[derive(Default)]` on enums without `#[default]` variant. 3. Don't add where bounds `T: Default` when expanding `Default` on enums (structs need that, enums not). Also, because I was annoyed by that, in minicore, add a way to filter on multiple flags in the line-filter (`// :`). This is required for the `Debug` and `Hash` derives, because the derive should be in the prelude but the trait not.
2025-07-03Auto merge of #143390 - GuillaumeGomez:rollup-2avj41s, r=GuillaumeGomezbors-16/+29
Rollup of 5 pull requests Successful merges: - rust-lang/rust#141831 (rustdoc: fix attrs of locally reexported foreign items) - rust-lang/rust#143364 (don't include `.md` in title) - rust-lang/rust#143369 (Various refactorings to the metadata loader) - rust-lang/rust#143379 (Post {beta,stable}-accepted notifications to compiler/bootstrap backport zulip channels on `{beta,stable}-accepted` label application) - rust-lang/rust#143384 (Update browser-ui-test version to `0.21.1`) r? `@ghost` `@rustbot` modify labels: rollup
2025-07-03Make __rust_alloc_error_handler_should_panic a functionDaniel Paoliello-13/+8
2025-07-03Rollup merge of #143384 - GuillaumeGomez:update-browser-ui-test, r=kobzolGuillaume Gomez-2/+2
Update browser-ui-test version to `0.21.1` One day I'll find time and motivation to use `package.json` instead. :laughing: r? `@Kobzol`
2025-07-03Rollup merge of #143364 - fee1-dead-contrib:push-pzymzusnzlso, r=workingjubileeGuillaume Gomez-1/+1
don't include `.md` in title its been bugging me
2025-07-03Rollup merge of #141831 - lolbinarycat:rustdoc-extern-reexport-135092, ↵Guillaume Gomez-13/+26
r=GuillaumeGomez rustdoc: fix attrs of locally reexported foreign items fixes rust-lang/rust#135092 also tweaks a few outdated/misleading comments. r? `@GuillaumeGomez`
2025-07-04Migrate `unmerge_match_arm` Assist to use `SyntaxEditor`Hayashi Mikihiro-22/+20
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-03Auto merge of #142857 - rust-lang:cargo_update, r=clubby789bors-43/+114
Weekly `cargo update` Automation to keep dependencies in `Cargo.lock` current. The following is the output from `cargo update`: ```txt compiler & tools dependencies: Locking 23 packages to latest compatible versions Updating anstyle-svg v0.1.8 -> v0.1.9 Updating autocfg v1.4.0 -> v1.5.0 Updating bumpalo v3.18.1 -> v3.19.0 Updating derive-where v1.4.0 -> v1.5.0 Updating errno v0.3.12 -> v0.3.13 Updating indexmap v2.9.0 -> v2.10.0 Updating libredox v0.1.3 -> v0.1.4 Updating owo-colors v4.2.1 -> v4.2.2 Updating pest v2.8.0 -> v2.8.1 Updating pest_derive v2.8.0 -> v2.8.1 Updating pest_generator v2.8.0 -> v2.8.1 Updating pest_meta v2.8.0 -> v2.8.1 Updating r-efi v5.2.0 -> v5.3.0 Updating rustc-build-sysroot v0.5.8 -> v0.5.9 Updating slab v0.4.9 -> v0.4.10 Updating syn v2.0.103 -> v2.0.104 Adding toml v0.8.23 Adding toml_edit v0.22.27 Adding toml_write v0.1.2 Updating tracing-attributes v0.1.29 -> v0.1.30 Updating xattr v1.5.0 -> v1.5.1 Updating zerocopy v0.8.25 -> v0.8.26 Updating zerocopy-derive v0.8.25 -> v0.8.26 note: pass `--verbose` to see 39 unchanged dependencies behind latest library dependencies: Locking 0 packages to latest compatible versions note: pass `--verbose` to see 3 unchanged dependencies behind latest rustbook dependencies: Locking 21 packages to latest compatible versions Updating autocfg v1.4.0 -> v1.5.0 Updating bumpalo v3.18.1 -> v3.19.0 Updating errno v0.3.12 -> v0.3.13 Updating indexmap v2.9.0 -> v2.10.0 Updating markup5ever v0.16.1 -> v0.16.2 Updating pest v2.8.0 -> v2.8.1 Updating pest_derive v2.8.0 -> v2.8.1 Updating pest_generator v2.8.0 -> v2.8.1 Updating pest_meta v2.8.0 -> v2.8.1 Updating r-efi v5.2.0 -> v5.3.0 Updating syn v2.0.103 -> v2.0.104 Adding windows-sys v0.60.2 Adding windows-targets v0.53.2 Adding windows_aarch64_gnullvm v0.53.0 Adding windows_aarch64_msvc v0.53.0 Adding windows_i686_gnu v0.53.0 Adding windows_i686_gnullvm v0.53.0 Adding windows_i686_msvc v0.53.0 Adding windows_x86_64_gnu v0.53.0 Adding windows_x86_64_gnullvm v0.53.0 Adding windows_x86_64_msvc v0.53.0 ```
2025-07-03cargo updategithub-actions-43/+114
compiler & tools dependencies: Locking 23 packages to latest compatible versions Updating anstyle-svg v0.1.8 -> v0.1.9 Updating autocfg v1.4.0 -> v1.5.0 Updating bumpalo v3.18.1 -> v3.19.0 Updating derive-where v1.4.0 -> v1.5.0 Updating errno v0.3.12 -> v0.3.13 Updating indexmap v2.9.0 -> v2.10.0 Updating libredox v0.1.3 -> v0.1.4 Updating owo-colors v4.2.1 -> v4.2.2 Updating pest v2.8.0 -> v2.8.1 Updating pest_derive v2.8.0 -> v2.8.1 Updating pest_generator v2.8.0 -> v2.8.1 Updating pest_meta v2.8.0 -> v2.8.1 Updating r-efi v5.2.0 -> v5.3.0 Updating rustc-build-sysroot v0.5.8 -> v0.5.9 Updating slab v0.4.9 -> v0.4.10 Updating syn v2.0.103 -> v2.0.104 Adding toml v0.8.23 Adding toml_edit v0.22.27 Adding toml_write v0.1.2 Updating tracing-attributes v0.1.29 -> v0.1.30 Updating xattr v1.5.0 -> v1.5.1 Updating zerocopy v0.8.25 -> v0.8.26 Updating zerocopy-derive v0.8.25 -> v0.8.26 note: pass `--verbose` to see 39 unchanged dependencies behind latest library dependencies: Locking 0 packages to latest compatible versions note: pass `--verbose` to see 3 unchanged dependencies behind latest rustbook dependencies: Locking 21 packages to latest compatible versions Updating autocfg v1.4.0 -> v1.5.0 Updating bumpalo v3.18.1 -> v3.19.0 Updating errno v0.3.12 -> v0.3.13 Updating indexmap v2.9.0 -> v2.10.0 Updating markup5ever v0.16.1 -> v0.16.2 Updating pest v2.8.0 -> v2.8.1 Updating pest_derive v2.8.0 -> v2.8.1 Updating pest_generator v2.8.0 -> v2.8.1 Updating pest_meta v2.8.0 -> v2.8.1 Updating r-efi v5.2.0 -> v5.3.0 Updating syn v2.0.103 -> v2.0.104 Adding windows-sys v0.60.2 Adding windows-targets v0.53.2 Adding windows_aarch64_gnullvm v0.53.0 Adding windows_aarch64_msvc v0.53.0 Adding windows_i686_gnu v0.53.0 Adding windows_i686_gnullvm v0.53.0 Adding windows_i686_msvc v0.53.0 Adding windows_x86_64_gnu v0.53.0 Adding windows_x86_64_gnullvm v0.53.0 Adding windows_x86_64_msvc v0.53.0
2025-07-03Update browser-ui-test version to `0.21.1`Guillaume Gomez-2/+2
2025-07-03nanosleep: fix argument name and add a missing argument readRalf Jung-9/+6
2025-07-03Merge pull request #20161 from ShoyuVanilla/closure-captureLukas Wirth-5/+48
fix: Incorrect closure capturing for let exprs
2025-07-03Merge pull request #20120 from Hmikihiro/match_bind_not_typeChayim Refael Friedman-1/+74
fix: resolve item in match bind
2025-07-03rustdoc: don't treat methods under const impls or traits as constDeadbeef-1/+14
2025-07-03Replace kw_span by full span.Camille GILLOT-5/+5
2025-07-03fix: resolve item in match bindHayashi Mikihiro-1/+74
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-03Auto merge of #143363 - jdonszelmann:rollup-7cv1kql, r=jdonszelmannbors-34/+106
Rollup of 6 pull requests Successful merges: - rust-lang/rust#134006 (setup typos check in CI) - rust-lang/rust#142876 (Port `#[target_feature]` to new attribute parsing infrastructure) - rust-lang/rust#143038 (avoid suggesting traits from private dependencies) - rust-lang/rust#143083 (Fix rustdoc not correctly showing attributes on re-exports) - rust-lang/rust#143283 (document optional jobs) - rust-lang/rust#143329 (minicore: use core's `diagnostic::on_unimplemented` messages) Failed merges: - rust-lang/rust#143237 (Port `#[no_implicit_prelude]` to the new attribute parsing infrastructure) r? `@ghost` `@rustbot` modify labels: rollup
2025-07-03fix: Closure capturing for let exprs, againShoyu Vanilla-5/+48
2025-07-03refactor: Make -Ztrack-diagnostics emit like a noteScott Schafer-3/+5
2025-07-03Merge pull request #20160 from Veykril/push-pqvskktpnyluLukas Wirth-49/+71
fix: Improve diagnostic ranges for `macro_calls!`
2025-07-03fix: Improve diagnostic ranges for `macro_calls!`Lukas Wirth-49/+71
We used to point to the entire macro call including its token tree if we couldn't upmap the diagnostic to the input This generally makes things very noisy as the entire macro call will turn red on errors. Instead, we now macro the path and `!` (bang) token as the error source range which is a lot nicer on the eyes.
2025-07-03don't include `.md` in titleDeadbeef-1/+1
2025-07-03Rollup merge of #143329 - folkertdev:minicore-diagnostic-on-unimplemented, ↵Jana Dönszelmann-0/+6
r=jieyouxu minicore: use core's `diagnostic::on_unimplemented` messages Without these attributes, the error message is different. Keeping the diagnostics up-to-date seems related to https://github.com/rust-lang/rust/issues/137531. The modified test files are reported in https://github.com/rust-lang/rust/issues/143319 as failing for `--target=riscv64gc-unknown-linux-gnu`. Using `minicore` for them makes it easier to troubleshoot this sort of issue. r? ``@jieyouxu``