about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-02-12Propogate error types in mir type projectionsLukas Wirth-2/+22
2025-02-11Merge pull request #19117 from gohome001/implicit-drop-inlay-hints-bugChayim Refael Friedman-2/+24
Fix: don't emit implicit drop inlay hints for macro
2025-02-11Merge pull request #18998 from ChayimFriedman2/excludeLukas Wirth-131/+262
fix: Make `rust-analyzer.files.excludeDirs` work, actually
2025-02-11add test case for ignoring inlay hint for macro callgohome001-0/+21
2025-02-11don't emit implicit drop inlay hints for macrogohome001-2/+3
2025-02-10Merge pull request #19124 from jyn514/range-fmt-off-by-oneLukas Wirth-8/+88
Fix off-by-one error in RangeFormatting
2025-02-10Merge pull request #19088 from Hmikihiro/all_remove_duplicate_module_adtChayim Refael Friedman-1/+72
fix: if item exsits on module, resolve as module instead of type
2025-02-10Shadowing BuiltinType by ModuleHayashi Mikihiro-1/+72
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-02-10Bump rustc cratesLaurențiu Nicola-17/+18
2025-02-10Merge from rust-lang/rustLaurențiu Nicola-7217/+20778
2025-02-10Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2025-02-09fix target dir testjyn-2/+11
2025-02-09fix off-by-one errorjyn-6/+77
2025-02-09Rollup merge of #136782 - ehuss:freebsd-platform, r=jieyouxuMatthias Krüger-1/+1
Fix mistake in x86_64-unknown-freebsd platform description Fixes the description for x86_64-unknown-freebsd which looks to inadvertently say amd64.
2025-02-09Rollup merge of #136694 - GuillaumeGomez:update-minifier, r=notriddleMatthias Krüger-1/+1
Update minifier version to `0.3.4` It fixes a bug where a whitespace would get removed in `a [attribute]` (you're not forced to add a tag before an attribute selector). r? ````@notriddle````
2025-02-09Fix mistake in x86_64-unknown-freebsd platform descriptionEric Huss-1/+1
2025-02-09Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrumbors-1043/+1254
Update bootstrap compiler and rustfmt The rustfmt version we previously used formats things differently from what the latest nightly rustfmt does. This causes issues for subtrees that get formatted both in-tree and in their own repo. Updating the rustfmt used in-tree solves those issues. Also bumped the bootstrap compiler as the stage0 update command always updates both at the same time.
2025-02-09Auto merge of #136754 - Urgau:rollup-qlkhjqr, r=Urgaubors-332/+3642
Rollup of 5 pull requests Successful merges: - #134679 (Windows: remove readonly files) - #136213 (Allow Rust to use a number of libc filesystem calls) - #136530 (Implement `x perf` directly in bootstrap) - #136601 (Detect (non-raw) borrows of null ZST pointers in CheckNull) - #136659 (Pick the max DWARF version when LTO'ing modules with different versions ) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-09doc: error url阿豪-1/+1
2025-02-08Rollup merge of #136706 - workingjubilee:finish-up-rustc-abi-updates, ↵Jubilee-41/+43
r=compiler-errors compiler: mostly-finish `rustc_abi` updates This almost-finishes all the updates in the compiler to use `rustc_abi` and removes some of the reexports of `rustc_abi` items in `rustc_target` that were previously available. r? ```@compiler-errors```
2025-02-09Rollup merge of #136530 - Kobzol:x-perf, r=onur-ozkanUrgau-332/+3642
Implement `x perf` directly in bootstrap Discussed [here](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Turning.20.60x.20perf.60.20into.20a.20first.20class.20command). Implementing the command directly in bootstrap let's us correctly build the compiler toolchain based on input arguments (such as include rustdoc in the toolchain [only] when needed), and it also makes the CLI interface nicer. r? ``@onur-ozkan``
2025-02-08Rustfmtbjorn3-580/+791
2025-02-08Update bootstrap compiler and rustfmtbjorn3-463/+463
The rustfmt version we previously used formats things differently from what the latest nightly rustfmt does. This causes issues for subtrees that get formatted both in-tree and in their own repo. Updating the rustfmt used in-tree solves those issues. Also bumped the bootstrap compiler as the stage0 update command always updates both at the same time.
2025-02-08Rollup merge of #136679 - Flakebi:loongarch64-diskspace, r=marcoieniMatthias Krüger-2/+2
ci: Use largedisk for loongarch `dist-loongarch64-linux` and `dist-loongarch64-musl` seem to run out of disk space when adding the amdgpu LLVM backend. There are changes underway to free more disk space, but that may take a while, so it was suggested to switch the affected jobs to a largedisk runner until that is ready. `dist-powerpc64-linux` is another job that ran out of disk space one time, but it succeeded the other times, so I did not include it here. amdgpu target PR with more references to the failures: #134740 r? ```@marcoieni```
2025-02-08Rollup merge of #136657 - jdonszelmann:empty-line-after, ↵Matthias Krüger-472/+611
r=y21,flip1995,WaffleLapkin Make empty-line-after an early clippy lint r? ```@y21``` 95% a refiling of https://github.com/rust-lang/rust-clippy/pull/13658 but for correctness it needed 2 extra methods in `rust_lint` which made it much easier to apply on `rust-lang/rust` than `rust-lang/rust-clippy`. Commits have been thoroughly reviewed on `rust-lang/clippy already`. The last two review comments there (about using `Option` and popping for assoc items have been applied here.
2025-02-08Rollup merge of #136626 - onur-ozkan:initial-rustdoc, r=jieyouxuMatthias Krüger-1/+3
create `initial_rustdoc` field in `Build` just a minor improvement
2025-02-08Auto merge of #136728 - matthiaskrgr:rollup-x2qh9yt, r=matthiaskrgrbors-1/+6
Rollup of 6 pull requests Successful merges: - #136640 (Debuginfo for function ZSTs should have alignment of 8 bits, not 1 bit) - #136648 (Add a missing `//@ needs-symlink` to `tests/run-make/libs-through-symlinks`) - #136651 (Label mismatched parameters at the def site for foreign functions) - #136691 (Remove Linkage::Private and Linkage::Appending) - #136692 (add module level doc for bootstrap:utils:exec) - #136700 (i686-unknown-hurd-gnu: bump baseline CPU to Pentium 4) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-08Merge pull request #19113 from BenjaminBrienen/patch-1Laurențiu Nicola-1/+1
Update PRIVACY.md
2025-02-08Merge pull request #19115 from Wilfred/sidebar_structureLaurențiu Nicola-3/+3
Organise chapters in mdbook sidebar
2025-02-08Auto merge of #136725 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 14 commits in 0e3d73849ab8cbbab3ec5c65cbd555586cb21339..2928e32734b04925ee51e1ae88bea9a83d2fd451 2025-02-01 20:14:40 +0000 to 2025-02-07 16:50:22 +0000 - Simplify backtrack (rust-lang/cargo#15150) - Don't use on Solaris libc::LOCK_* which were removed from libc in ver… (rust-lang/cargo#15143) - feat: emit error if package not found within workspace (rust-lang/cargo#15071) - Make cache tracking resilient to unexpected files (rust-lang/cargo#15147) - Small resolver cleanups (rust-lang/cargo#15040) - feat: add `cargo pkgid` support for cargo-script (rust-lang/cargo#14961) - Suggest similar feature names on CLI (rust-lang/cargo#15133) - fix: Don't use "did you mean" in errors (rust-lang/cargo#15138) - Fix changelog link (rust-lang/cargo#15142) - chore(deps): update rust crate rand to 0.9.0 (rust-lang/cargo#15129) - Remove the original changelog (rust-lang/cargo#15123) - chore(deps): update rust crate gix to 0.70.0 (rust-lang/cargo#15128) - allow windows reserved names in CI (rust-lang/cargo#15135) - removed a word that was repeated (rust-lang/cargo#15136)
2025-02-08Rollup merge of #136700 - RalfJung:hurd, r=NoratriebMatthias Krüger-1/+1
i686-unknown-hurd-gnu: bump baseline CPU to Pentium 4 See https://github.com/rust-lang/rust/issues/136495 for context. ``@sthibaul`` (the only listed target maintainer) said they would be [fine](https://github.com/rust-lang/rust/issues/136495#issuecomment-2638355845) with this change.
2025-02-08Rollup merge of #136692 - ↵Matthias Krüger-0/+5
Shourya742:2025-02-07-add-rust-docs-for-bootstrap-utils-exec, r=onur-ozkan add module level doc for bootstrap:utils:exec This PR adds module level doc for bootstrap utils/exec module
2025-02-08Auto merge of #136713 - matthiaskrgr:rollup-sy6py39, r=matthiaskrgrbors-1/+2
Rollup of 7 pull requests Successful merges: - #135179 (Make sure to use `Receiver` trait when extracting object method candidate) - #136554 (Add `opt_alias_variances` and use it in outlives code) - #136556 ([AIX] Update tests/ui/wait-forked-but-failed-child.rs to accomodate exiting and idle processes.) - #136589 (Enable "jump to def" feature on rustc docs) - #136615 (sys: net: Add UEFI stubs) - #136635 (Remove outdated `base_port` calculation in std net test) - #136682 (Move two windows process tests to tests/ui) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-07Update cargoWeihang Lo-0/+0
2025-02-07Rollup merge of #136589 - GuillaumeGomez:enable-jump-to-def-compiler, r=oli-obkMatthias Krüger-1/+2
Enable "jump to def" feature on rustc docs This PR enables the rustdoc "jump to def" feature which is visible on the source code pages. r? ``@oli-obk``
2025-02-07Update minifier version to `0.3.4`Guillaume Gomez-1/+1
2025-02-07Organise chapters in mdbook sidebarWilfred Hughes-3/+3
2025-02-07Update README.md links for mdbook manualWilfred Hughes-3/+4
2025-02-07clippy: directly use rustc_abi instead of reexportsJubilee Young-41/+43
2025-02-07Update PRIVACY.mdBenjamin Brienen-1/+1
2025-02-07i686-unknown-hurd-gnu: bump baseline CPU to Pentium 4Ralf Jung-1/+1
2025-02-07Rollup merge of #135945 - estebank:useless-parens, r=compiler-errorsMatthias Krüger-15/+15
Remove some unnecessary parens in `assert!` conditions While working on #122661, some of these started triggering our "unnecessary parens" lints due to a change in the `assert!` desugaring. A cursory search identified a few more. Some of these have been carried from before 1.0, were a bulk rename from the previous name of `assert!` left them in that state. I went and removed as many of these unnecessary parens as possible in order to have fewer annoyances in the future if we make the lint smarter.
2025-02-07Rollup merge of #135940 - ehuss:toolstate-update, r=Mark-SimulacrumMatthias Krüger-8/+11
Update toolstate maintainers This updates the toolstate maintainers to more closely match who is still active.
2025-02-07Rollup merge of #134367 - WaffleLapkin:trait_upcasting_as_a_treat, ↵Matthias Krüger-35/+2
r=compiler-errors Stabilize `feature(trait_upcasting)` This feature was "done" for a while now, I think it's finally time to stabilize it! Stabilization report: https://github.com/rust-lang/rust/pull/134367#issuecomment-2545839841. cc reference PR: https://github.com/rust-lang/reference/pull/1622. Closes #65991 (tracking issue), closes #89460 (the lint is no longer future incompat). r? compiler-errors
2025-02-07add tests for spurious failure and fix typoJana Dönszelmann-21/+49
2025-02-07fix typoJana Dönszelmann-1/+1
2025-02-07fix empty after lint on impl/trait itemsJonathan Dönszelmann-38/+116
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
2025-02-07Update UI testsGuillaume Gomez-25/+27
2025-02-07Convert `EMPTY_LINE_AFTER_OUTER_ATTR` and `EMPTY_LINE_AFTER_OUTER_ATTR` lint ↵Guillaume Gomez-427/+458
into early lints
2025-02-07add module level doc for bootstrap:util:execbit-aloo-0/+5