about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-05-24fix zulip topic URLRalf Jung-1/+1
2025-05-24Update `rustc_on_unimplemented` docsmejrs-61/+101
2025-05-24rename internal panicking::try to catch_unwindRalf Jung-23/+23
2025-05-24Rollup merge of #141486 - xizheyin:issue-141414, r=GuillaumeGomezMatthias Krüger-2/+4
rustdoc book: add argument explanation for `html_playground_url` Fixes #141414 r? `@GuillaumeGomez`
2025-05-24Rollup merge of #141480 - jyn514:treat-err-as-bug, r=jieyouxuMatthias Krüger-0/+36
document some -Z flags as living in the rustc-dev-guide i was looking for these but didn't find them at first; add a breadcrumb so people know where to look
2025-05-24ci: move PR job x86_64-gnu-tools to codebuildMarcoIeni-1/+1
2025-05-24Merge pull request #2405 from Kobzol/remove-mentions-of-rust-lang-ciJakub Beránek-10/+6
Remove mentions of rust-lang-ci/rust
2025-05-24Update `askama` version to `0.14.0` in `citool`Guillaume Gomez-7/+7
2025-05-24Update `askama` version to `0.14.0` in `generate-copyright` toolGuillaume Gomez-1/+1
2025-05-24Update `askama` version to `0.14.0` in librustdocGuillaume Gomez-2/+2
2025-05-24Auto merge of #141484 - matthiaskrgr:rollup-dc58owu, r=matthiaskrgrbors-3/+4
Rollup of 7 pull requests Successful merges: - #141405 (GetUserProfileDirectoryW is now documented to always store the size) - #141427 (Disable `triagebot`'s `glacier` handler) - #141429 (Dont walk into unsafe binders when emiting error for non-structural type match) - #141438 (Do not try to confirm non-dyn compatible method) - #141444 (Improve CONTRIBUTING.md grammar and clarity) - #141446 (Add 2nd Solaris target maintainer) - #141456 (Suggest correct `version("..")` predicate syntax in check-cfg) r? `@ghost` `@rustbot` modify labels: rollup
2025-05-24rustdoc book: add argument explanation for `html_playground_url`xizheyin-2/+4
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-05-24Rollup merge of #141446 - psumbera:2nd-maintainer, r=RalfJungMatthias Krüger-0/+1
Add 2nd Solaris target maintainer Based on concenr here https://github.com/rust-lang/compiler-team/issues/870#issuecomment-2903825327 I propose my coleague ```@kulikjak``` as 2nd Solaris maintainer. He already did some work to Rust in past.
2025-05-24Rollup merge of #141405 - RalfJung:GetUserProfileDirectoryW, r=ChrisDentonMatthias Krüger-3/+3
GetUserProfileDirectoryW is now documented to always store the size Update to match https://github.com/MicrosoftDocs/sdk-api/pull/1810 Also fix a bug in the Miri implementation while I am starting at that code... r? ```@ChrisDenton``` Fixes #141254
2025-05-24Auto merge of #141415 - est31:let_chains_libcore, r=tgross35bors-1/+2
Remove #![feature(let_chains)] from libcore PR https://github.com/rust-lang/rust/pull/132833 has stabilized the let_chains feature. This PR removes the last occurrence from the library. Split out of #140966 as it caused breakage. Now we have a patch to the linux tree that fixes the build, so we update the linux tree to it. cc https://github.com/Rust-for-Linux/linux/issues/1163 cc https://github.com/rust-lang/rust/issues/140722
2025-05-24document some -Z flagsjyn-0/+36
2025-05-24Auto merge of #141421 - nnethercote:TypeAliasPart-get, r=GuillaumeGomezbors-35/+36
rustdoc: Speed up `TypeAliasPart::get` Big speedups here on a couple of the benchmarks. r? `@GuillaumeGomez`
2025-05-24typoTshepang Mbambo-1/+1
2025-05-24Simplify things a little more.Nicholas Nethercote-6/+3
2025-05-23Auto merge of #141460 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 9 commits in 47c911e9e6f6461f90ce19142031fe16876a3b95..68db37499f2de8acef704c73d9031be6fbcbaee4 2025-05-14 17:53:17 +0000 to 2025-05-22 14:27:15 +0000 - chore(gh): Add new-lint issue template (rust-lang/cargo#15575) - fix(toml): Remove workaround for rustc frontmatter support (rust-lang/cargo#15570) - fix(vendor)!: vendor files with .rej/.orig suffix (rust-lang/cargo#15569) - fix(vendor)!: direct extraction for registry sources (rust-lang/cargo#15514) - chore(deps): update msrv (1 version) to v1.87 (rust-lang/cargo#15530) - Fix comment for cargo/core/compiler/fingerprint/mod.rs (rust-lang/cargo#15565) - fix: remove unnecessary workaround in standard_lib test (rust-lang/cargo#15522) - Allow configuring arbitrary codegen backends (rust-lang/cargo#15562) - Update dependencies (rust-lang/cargo#15557) r? ghost
2025-05-24Move code inside the `else` in `TypeAliasPart::get`.Nicholas Nethercote-29/+33
This is a huge perf win for rustdoc on the `typenum` and `nalgebra` benchmarks, because the `else` branch doesn't get hit much.
2025-05-24Simplify the "is some" test in `TypeAliasPart::get`.Nicholas Nethercote-1/+1
The comparison against `text` seems to be unnecessary.
2025-05-23GetUserProfileDirectoryW is now documented to always store the sizeRalf Jung-3/+3
2025-05-24Add LLVM link in appendixyukang-0/+1
2025-05-23Rollup merge of #141457 - ehuss:update-mdbook, r=Mark-SimulacrumMatthias Krüger-50/+5
Update mdbook to 0.4.50 This updates mdbook to 0.4.50 which brings in several changes, and specifically a fix for syntax highlighting in rust-by-example. Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0450
2025-05-23Rollup merge of #141374 - jeremyd2019:patch-1, r=jieyouxuMatthias Krüger-1/+10
make shared_helpers exe function work for both cygwin and non-cygwin hosts On Cygwin, it needs to not append .exe, because /proc/self/exe (and therefore `std::env::current_exe`) does not include the .exe extension, breaking bootstrap's rustc wrapper. On hosts other than Cygwin, it *does* need to append .exe because the file really does have a .exe extension, and non-Cygwin hosts won't be doing the same filename rewriting that Cygwin does when looking for a file X but finding only X.exe in its place. Arising from discussion in https://github.com/rust-lang/rust/pull/140154#pullrequestreview-2855782812 ``@mati865`` ``@Berrysoft``
2025-05-23Rollup merge of #141369 - ↵Matthias Krüger-72/+25
yotamofek:pr/rustdoc/format_integer_with_underscore_sep, r=notriddle Simplify `format_integer_with_underscore_sep` Noticed that this helper fn only ever gets called with decimal-base-formatted ints, so can be simplified a lot by not trying to handle hex and octal radixes. Second commit is completely unrelated, just simplified some code I wrote a while back 😁
2025-05-23Update cargoWeihang Lo-0/+0
2025-05-23Merge pull request #2404 from lolbinarycat/patch-1nora-4/+4
rustdoc.md: reorder list so test suites are not split up
2025-05-23let `tool::Miri` implementation to handle compilersonur-ozkan-2/+4
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-23Update mdbook to 0.4.50Eric Huss-50/+5
2025-05-23if stage isn't set explicitly, default to 1 when running mirionur-ozkan-1/+9
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-23Auto merge of #141437 - matthiaskrgr:rollup-jjagkxd, r=matthiaskrgrbors-223/+754
Rollup of 7 pull requests Successful merges: - #136400 (Improve handling of rustdoc lints when used with raw doc fragments.) - #140967 (Async drop poll shim for error dropee generates noop body) - #141019 (Update std doctests for android) - #141109 (discuss deadlocks in the std::io::pipe() example) - #141126 (rustdoc JSON: Don't apply `#[repr]` privacy heuristics) - #141376 (Rename `kw::Empty` as `sym::empty`.) - #141383 (Miri subtree update) r? `@ghost` `@rustbot` modify labels: rollup
2025-05-23document why rustdoc cannot look at function bodiesjyn-0/+22
2025-05-23Add 2nd Solaris target maintainerPetr Sumbera-0/+1
2025-05-23Small cleanup for `qpath_to_string`Yotam Ofek-9/+2
2025-05-23Simplify `format_integer_with_underscore_sep`Yotam Ofek-63/+23
Only ever needs to handle decimal reprs
2025-05-23Rollup merge of #141383 - RalfJung:miri-sync, r=RalfJungMatthias Krüger-199/+734
Miri subtree update r? `@ghost`
2025-05-23Rollup merge of #141376 - nnethercote:rename-kw-Empty, r=petrochenkovMatthias Krüger-4/+4
Rename `kw::Empty` as `sym::empty`. Because the empty string is not a keyword. r? `@petrochenkov`
2025-05-23Rollup merge of #141126 - fmease:rev-rjson-priv-repr, r=aDotInTheVoidMatthias Krüger-16/+8
rustdoc JSON: Don't apply `#[repr]` privacy heuristics Split out from #116882. Context: https://github.com/rust-lang/rust/pull/116882#issuecomment-2888349161. Partially reverts #138018. cc `@obi1kenobi` r? aDotInTheVoid or rustdoc
2025-05-23Rollup merge of #136400 - lolbinarycat:rustdoc-link-lint-135851, ↵Matthias Krüger-4/+8
r=GuillaumeGomez Improve handling of rustdoc lints when used with raw doc fragments. 1. `rustdoc::bare_urls` no longer outputs incoherent suggestions if `source_span_for_markdown_range` returns None, instead outputting no suggestion 2. `source_span_for_markdown_range` has one more heuristic, so it will return `None` less often. 3. add ui test to make sure we don't emit nonsense suggestions. fixes https://github.com/rust-lang/rust/issues/135851
2025-05-23Remove mentions of rust-lang-ci/rustJakub Beránek-10/+6
Now that CI has been finally migrated to `rust-lang/rust`.
2025-05-23Auto merge of #141062 - ChaiTRex:ide_fmt_2024, r=Mark-Simulacrumbors-6/+10
Update IDEs to use rustfmt 2024, fix Zed settings Update IDEs to use rustfmt 2024, fix Zed settings - Update IDE `rust-analyzer` settings to use 2024 rather than 2021. - Fix Zed settings by removing `${workspaceFolder}/` from paths.
2025-05-23Bump salsaLukas Wirth-280/+83
2025-05-23Properly analyze captures from unsafe bindersMichael Goulet-0/+2
2025-05-23test some aarch64 windows targetsRalf Jung-1/+4
2025-05-23many-seeds tests have become a lot faster thanks to multithreadingRalf Jung-7/+5
2025-05-23./miri bench: sort results alphabeticallyRalf Jung-11/+15
2025-05-23Merge from rustcThe Miri Cronjob Bot-4871/+6486
2025-05-23Preparing for merge from rustcThe Miri Cronjob Bot-1/+1