about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-01-19Remove unused `item-row` CSS classGuillaume Gomez-1/+1
2025-01-19Fix missing upmapping in trait impls completionChayim Refael Friedman-3/+33
2025-01-19Fix dev guide docs for error-patternNoratrieb-1/+2
I know it would have made more sense to make this PR to the dev guide repo but I had already made the fix before I realized that.
2025-01-19make it possible to use ci-rustc on tarball sourcesonur-ozkan-13/+23
Previously, bootstrap was using `Config::last_modified_commit` unconditionally to figure the commit has to download precompiled rustc artifact from CI, which was leading builds to fail on tarball sources as `Config::last_modified_commit` requires `git` to be present in the project source. This change makes bootstrap to call `Config::last_modified_commit` only when it's running on git-managed source and read `git-commit-hash` file otherwise. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-19Auto merge of #135709 - lqd:bring-back-len, r=compiler-errorsbors-1/+1
Temporarily bring back `Rvalue::Len` r? `@compiler-errors` as requested in https://github.com/rust-lang/rust/issues/135671#issuecomment-2599580364 > However, in the mean time, I'd rather we not crunch trying to find and more importantly validate the soundness of a solution 🤔 Agreed. To fix the IMO P-critical #135671 for which we somehow didn't have test coverage, this PR temporarily reverts: - https://github.com/rust-lang/rust/pull/133734 - its bugfix https://github.com/rust-lang/rust/pull/134371 - https://github.com/rust-lang/rust/pull/134330 cc `@scottmcm` I added the few samples from that issue as a test, but we can add more in the future, in particular it seems `@steffahn` [will work on that](https://github.com/rust-lang/rust/issues/135671#issuecomment-2599714354). Fixes #135671. And if we want to land this, it should also be nominated for beta backport.
2025-01-19Merge from rustcThe Miri Cronjob Bot-566/+766
2025-01-19Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-01-19Fix a bug where enum variants were not considered properly in type ns resolutionChayim Refael Friedman-29/+81
They should be considered just as well as in value ns, for example for struct literals.
2025-01-19Auto merge of #135715 - matthiaskrgr:rollup-9a18sxj, r=matthiaskrgrbors-59/+44
Rollup of 4 pull requests Successful merges: - #135641 ([rustdoc] Replace module list items `ul`/`li` with `dl`/`dd`/`dt` elements) - #135703 (Disallow `A { .. }` if `A` has no fields) - #135705 (Consolidate ad-hoc MIR lints into real pass-manager-based MIR lints) - #135708 (Some random compiler nits) Failed merges: - #135685 (Remove unused `item-row` CSS class) r? `@ghost` `@rustbot` modify labels: rollup
2025-01-18slots fixWalnut-1/+1
2025-01-18Update tests for std::simd subtree syncCaleb Zulawski-21/+0
2025-01-19Rollup merge of #135641 - GuillaumeGomez:items-list, r=notriddleMatthias Krüger-59/+44
[rustdoc] Replace module list items `ul`/`li` with `dl`/`dd`/`dt` elements `@hywan` suggested that rustdoc should use `dl`,`dt` and `dd` HTML tags for listing items on module pages as it matches better what this is (an item and optionally its description). This is a very good idea so here is the implementation. Also nice side-effect of this change: it reduces a bit the generated HTML since we go from: This PR shouldn't impact page appearance. ```html <ul class="item-table"> <li> <div class="item-name">NAME</div> <div class="desc docblock-short">THE DOC</div> </li> </ul> ``` to: ```html <dl class="item-table"> <dt>NAME</dt> <dd>THE DOC</dd> </dl> ``` You can test it [here](https://rustdoc.crud.net/imperio/items-list/std/index.html). r? `@notriddle`
2025-01-19cargo updategithub-actions-27/+38
compiler & tools dependencies: Locking 13 packages to latest compatible versions Updating anstyle-wincon v3.0.6 -> v3.0.7 Updating bitflags v2.7.0 -> v2.8.0 Updating chrono-tz v0.10.0 -> v0.10.1 Updating js-sys v0.3.76 -> v0.3.77 Updating log v0.4.22 -> v0.4.25 Updating miniz_oxide v0.8.2 -> v0.8.3 Updating uuid v1.11.1 -> v1.12.0 Updating valuable v0.1.0 -> v0.1.1 Updating wasm-bindgen v0.2.99 -> v0.2.100 Updating wasm-bindgen-backend v0.2.99 -> v0.2.100 Updating wasm-bindgen-macro v0.2.99 -> v0.2.100 Updating wasm-bindgen-macro-support v0.2.99 -> v0.2.100 Updating wasm-bindgen-shared v0.2.99 -> v0.2.100 note: pass `--verbose` to see 41 unchanged dependencies behind latest library dependencies: Locking 1 package to latest compatible version Updating miniz_oxide v0.8.2 -> v0.8.3 note: pass `--verbose` to see 4 unchanged dependencies behind latest rustbook dependencies: Locking 12 packages to latest compatible versions Updating anstyle-wincon v3.0.6 -> v3.0.7 Updating bitflags v2.7.0 -> v2.8.0 Updating cc v1.2.8 -> v1.2.10 Updating js-sys v0.3.76 -> v0.3.77 Updating log v0.4.22 -> v0.4.25 Updating miniz_oxide v0.8.2 -> v0.8.3 Adding rustversion v1.0.19 Updating wasm-bindgen v0.2.99 -> v0.2.100 Updating wasm-bindgen-backend v0.2.99 -> v0.2.100 Updating wasm-bindgen-macro v0.2.99 -> v0.2.100 Updating wasm-bindgen-macro-support v0.2.99 -> v0.2.100 Updating wasm-bindgen-shared v0.2.99 -> v0.2.100
2025-01-19Rollup merge of #135640 - Gelbpunkt:drop-mips-glibc-patches, r=KobzolMatthias Krüger-127/+0
Drop MIPS glibc 2.23 patches that reside in crosstool-ng now These patches were added to crosstool-ng in https://github.com/crosstool-ng/crosstool-ng/commit/b88d3385162415294cba57e7b4cecc03259548fb and are therefore duplicate and fail to apply, breaking builds of `dist-mips*-linux`. I have compile tested `dist-mipsel-linux`, I assume the other targets will work just as fine now.
2025-01-19Rollup merge of #135623 - marcoieni:mingw-check-tidy-dockerfile, r=KobzolMatthias Krüger-1/+3
ci: use ghcr ubuntu image for mingw-check-tidy
2025-01-19Rollup merge of #135616 - marcoieni:split-i686-msvc-job, r=KobzolMatthias Krüger-5/+21
CI: split i686-msvc job to two free runners try-job: i686-msvc-1 try-job: i686-msvc-2
2025-01-18Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"Rémy Rakic-1/+1
This reverts commit e108481f74ff123ad98a63bd107a18d13035b275, reversing changes made to 303e8bd768526a5812bb1776e798e829ddb7d3ca.
2025-01-18Auto merge of #135633 - marcoieni:ci-free-arm-linux, r=Kobzolbors-1/+1
ci: switch to linux free arm runners try-job: aarch64-gnu try-job: aarch64-gnu-debug try-job: dist-aarch64-linux
2025-01-18Remove more CSS classesGuillaume Gomez-28/+19
2025-01-18Auto merge of #135682 - matthiaskrgr:rollup-cl7zlt1, r=matthiaskrgrbors-13/+30
Rollup of 7 pull requests Successful merges: - #133700 (const-eval: detect more pointers as definitely not-null) - #135290 (Encode constraints that hold at all points as logical edges in location-sensitive polonius) - #135478 (Run clippy for rustc_codegen_gcc on CI) - #135583 (Move `std::pipe::*` into `std::io`) - #135612 (Include x scripts in tarballs) - #135624 (ci: mirror buildkit image to ghcr) - #135661 (Stabilize `float_next_up_down`) r? `@ghost` `@rustbot` modify labels: rollup
2025-01-18Make niches into nicesLuuk Wester-2/+96
2025-01-18lsp-server: Drop outgoing messages on background threadPiotr Osiewicz-12/+42
Closes #18961
2025-01-18Merge pull request #18966 from lnicola/bump-windows-sysLaurențiu Nicola-7/+9
minor: Bump `windows-sys`
2025-01-18Merge pull request #18957 from markmurphydev/docs_vscode_syntax_treeLaurențiu Nicola-7/+9
Update syntax tree viewer docs
2025-01-18Auto merge of #135667 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 13 commits in 088d496082726091024f1689c124a0c3dccbd775..045bf21b36a2e1f3ed85e38278d1c3cc4305e134 2025-01-10 20:10:21 +0000 to 2025-01-17 14:59:36 +0000 - created a function for user defined aliases (rust-lang/cargo#15076) - took the functionality of the third party subcommand from the list_commands function (rust-lang/cargo#15075) - fix: wrong concat and field name (rust-lang/cargo#15074) - fix(publish): Report all unpublishable packages (rust-lang/cargo#15070) - docs(cargo-clippy): correct typo (rust-lang/cargo#15072) - docs(cargo-package): alwasy include the lockfile (rust-lang/cargo#15067) - docs(ref): Deprecate 'package.authors' (rust-lang/cargo#15068) - fix(build-std): parse as comma-separated list (rust-lang/cargo#15065) - Fix benchsuite issue with newer versions of git (rust-lang/cargo#15069) - Document that cargo automatically registers variables used in env! macro to trigger rebuilds (rust-lang/cargo#15062) - perf(cargo-package): match certain path prefix with pathspec (rust-lang/cargo#14997) - Clarify note in example (rust-lang/cargo#15054) - chore(deps): update msrv (3 versions) to v1.82 (rust-lang/cargo#15050)
2025-01-18Rollup merge of #135612 - onur-ozkan:include-x-scripts-in-tarballs, r=clubby789Matthias Krüger-7/+11
Include x scripts in tarballs Helps to provide 1:1 build experience between git-managed and tarball sources.
2025-01-18Rollup merge of #135478 - Kobzol:gcc-clippy, r=onur-ozkanMatthias Krüger-6/+19
Run clippy for rustc_codegen_gcc on CI Requested on [Zulip](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/Run.20clippy.20for.20rustc_codegen_gcc.20in.20the.20Rust.20CI). Opening as a draft, since it's not clear which rules should be applied to it. r? `@ghost`
2025-01-18Auto merge of #135678 - matthiaskrgr:rollup-psuyzpn, r=matthiaskrgrbors-30/+70
Rollup of 6 pull requests Successful merges: - #134455 (cleanup promoteds move check) - #135421 (Make tidy warn on unrecognized directives) - #135611 (Remove unnecessary assertion for reference error) - #135620 (ci: improve github action name) - #135639 (new solver: prefer trivial builtin impls) - #135654 (add src/librustdoc and src/rustdoc-json-types to RUSTC_IF_UNCHANGED_ALLOWED_PATHS) r? `@ghost` `@rustbot` modify labels: rollup
2025-01-18Merge pull request #18968 from Veykril/push-szvltqqttsyyLukas Wirth-1/+1
fix: `cargo rustc --print` needs `unstable-options`
2025-01-18fix: `cargo rustc --print` needs `unstable-options`Lukas Wirth-1/+1
2025-01-18Extract variable assist triggers less eagerlyLukas Wirth-7/+15
2025-01-18Rollup merge of #135654 - lolbinarycat:bootstrap-135650, r=onur-ozkanMatthias Krüger-0/+2
add src/librustdoc and src/rustdoc-json-types to RUSTC_IF_UNCHANGED_ALLOWED_PATHS fixes https://github.com/rust-lang/rust/issues/135650 r? ``@onur-ozkan``
2025-01-18Rollup merge of #135421 - cod10129:warn-tidy-ignore, r=onur-ozkanMatthias Krüger-30/+68
Make tidy warn on unrecognized directives This PR makes it so tidy warns on unrecognized directives, as recommended on [the discussion of #130984](https://github.com/rust-lang/rust/issues/130984#issuecomment-2589284620). This is edited from the previous version of this PR, which only warned on "tidy-ignore" and no other tidy directive typos. Fixes #130984. ``@rustbot`` label A-tidy C-enhancement
2025-01-18Bump Fuchsia integration commitErick Tryzelaar-1/+1
This advances Fuchsia to a checkout from 2025-01-13, which corresponds to a recent Rust roll, and hopefully avoids #135667, where a repository used by the older version of Rust was accidentally archived and broke checking out the prior version. try-job: x86_64-fuchsia
2025-01-17Update cargoWeihang Lo-0/+0
2025-01-17Do not include GCC source code in source tarballsJakub Beránek-1/+12
The licensing story is unclear, it makes the archive much larger, and we should not need it for building anything in the tarballs (yet).
2025-01-17Handle reexports items list a bit differently since they cannot have ↵Guillaume Gomez-8/+6
documentation
2025-01-17Replace ul/li list with dl/dd/dt elementsGuillaume Gomez-33/+29
2025-01-17Update syntax tree viewer docsMark Murphy-7/+9
2025-01-17add src/librustdoc and src/rustdoc-json-types to ↵binarycat-0/+2
RUSTC_IF_UNCHANGED_ALLOWED_PATHS fixes https://github.com/rust-lang/rust/issues/135650
2025-01-18Merge pull request #2211 from patrickoliveira15/patch/inference-invarianceYuki Okushi-3/+0
2025-01-17Bump windows-sysLaurențiu Nicola-7/+9
2025-01-17Drop MIPS glibc 2.23 patches that reside in crosstool-ng nowJens Reidel-127/+0
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-01-17add missing `Win32_Foundation` featuregvozdvmozgu-1/+5
2025-01-17ci: switch to linux free arm runnersMarcoIeni-1/+1
2025-01-17remove outdated text about wfx impliesPatrick Oliveira-3/+0
2025-01-17Merge pull request #18908 from jnyfah/error-bracesLukas Wirth-12/+637
Fix: Detect missing errors for } braces before else in let...else statements
2025-01-17ci: use ghcr ubuntu image for mingw-check-tidyMarcoIeni-1/+3
2025-01-17include `x` and `x.ps1` scripts in tarball sourcesonur-ozkan-0/+2
Helps to provide 1:1 build experience between git-managed and tarball sources. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-17CI: split i686-msvc job to two free runnersMarcoIeni-5/+21