about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-02-12Nuke `Buffer` abstraction from `librustdoc` 💣Yotam Ofek-648/+710
2025-02-12Auto merge of #135336 - tshepang:patch-5, r=jieyouxubors-0/+2
clarify and document needs-dynamic-linking try-job: test-various
2025-02-12Improve error recovery when method-calling a fieldLukas Wirth-79/+152
2025-02-12Spawn toolchain querying processes in parallelLukas Wirth-112/+228
2025-02-12Remove ignored `#[must_use]` attributes from ClippySamuel Tardieu-4/+0
The `#[must_use]` attribute has no effect when applied to methods in trait implementations.
2025-02-12Merge pull request #18928 from roife/fix-18918Lukas Wirth-1/+5295
fix: handle character boundary in search mode
2025-02-12Merge pull request #19109 from Veykril/push-nzpuuqommpnqLukas Wirth-31/+97
fix: Do not show safety hints for extern items lacking semantics
2025-02-12fix: handle character boundary in search moderoife-1/+5295
2025-02-12fix: Do not show safety hints for extern items lacking semanticsLukas Wirth-31/+97
2025-02-12Merge pull request #19111 from ShoyuVanilla/issue-19021Lukas Wirth-9/+89
fix: Apply adjustments to proper expr when invoking `CoerceMany`
2025-02-12Merge pull request #19110 from eagr/panic-contextLukas Wirth-22/+18
Simplify panic_context
2025-02-12Merge pull request #19125 from ChayimFriedman2/cfg-attr-fastLukas Wirth-24/+96
fix: Censor cfg_attr for attribute macros
2025-02-12Auto merge of #136918 - GuillaumeGomez:rollup-f6h21gg, r=GuillaumeGomezbors-182/+372
Rollup of 8 pull requests Successful merges: - #134981 ( Explain that in paths generics can't be set on both the enum and the variant) - #136698 (Replace i686-unknown-redox target with i586-unknown-redox) - #136767 (improve host/cross target checking) - #136829 ([rustdoc] Move line numbers into the `<code>` directly) - #136875 (Rustc dev guide subtree update) - #136900 (compiler: replace `ExternAbi::name` calls with formatters) - #136913 (Put kobzol back on review rotation) - #136915 (documentation fix: `f16` and `f128` are not double-precision) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-12Merge pull request #18995 from alibektas/12210Lukas Wirth-117/+187
fix: Lower range pattern bounds to expressions
2025-02-12Merge pull request #19129 from ChayimFriedman2/snippet-macroLukas Wirth-27/+64
fix: Fix postfix completions inside macros
2025-02-12Merge pull request #19132 from joshrotenberg/book-readme-run-codegenLukas Wirth-1/+1
doc: add xtask codegen command in development README as well
2025-02-12Merge pull request #19136 from ↵Lukas Wirth-116/+193
rust-lang/dependabot/npm_and_yarn/editors/code/esbuild-0.25.0 Bump esbuild from 0.18.12 to 0.25.0 in /editors/code
2025-02-12Rollup merge of #136875 - BoxyUwU:rdg-push, r=jieyouxuGuillaume Gomez-94/+155
Rustc dev guide subtree update r? ``@ghost``
2025-02-12Rollup merge of #136829 - GuillaumeGomez:move-line-numbers-into-code, ↵Guillaume Gomez-71/+178
r=notriddle [rustdoc] Move line numbers into the `<code>` directly Fixes #84242. This is the first for adding support for https://github.com/rust-lang/rust/issues/127334 and also for another feature I'm working on. A side-effect of this change is that it also fixes source code pages display in lynx since they're not directly in the source code. To allow having code wrapping, the grid approach doesn't work as the line numbers are in their own container, so we need to move them into the code. Now with this, it becomes much simpler to do what we want (with CSS mostly). One downside: the highlighting became more complex and slow as we need to generate some extra HTML tags directly into the highlighting process. However that also allows to not have a huge HTML size increase. You can test the result [here](https://rustdoc.crud.net/imperio/move-line-numbers-into-code/scrape_examples/fn.test_many.html) and [here](https://rustdoc.crud.net/imperio/move-line-numbers-into-code/src/scrape_examples/lib.rs.html#10). The appearance should have close to no changes. r? ``@notriddle``
2025-02-12Rollup merge of #136767 - onur-ozkan:is-host-target, r=albertlarsan68,jieyouxuGuillaume Gomez-13/+35
improve host/cross target checking Using an invalid equality operator on `builder.config.build !=/==` can be hard to detect in reviews (which is quite dangerous). Replaced them with `is_host_target`, which is much clearer as it explicitly states what it does.
2025-02-12Rollup merge of #136698 - jackpot51:i586-redox, r=RalfJungGuillaume Gomez-4/+4
Replace i686-unknown-redox target with i586-unknown-redox This change is related to https://github.com/rust-lang/rust/issues/136495
2025-02-12Auto merge of #136897 - workingjubilee:revert-unfcped-stab, r=WaffleLapkinbors-0/+10
Revert "Stabilize `extended_varargs_abi_support`" I cannot find an FCP for this, despite it being a stabilization PR which normally means we do an FCP of some kind? It would seem reasonable for _either_ compiler or lang to have FCPed it? I am thus opening a revert PR, which mostly-cleanly applies, so that we can later actually land this properly with a stability report and FCP. - https://github.com/rust-lang/rust/issues/136896 - https://github.com/rust-lang/rust/pull/116161 - https://github.com/rust-lang/rust/issues/100189
2025-02-12use cc archiver as default in `cc2ar`onur-ozkan-16/+4
We should remove entire `cc2ar` but `cc` doesn't seem to cover all the conditions that `cc2ar` handles. For now, I replaced the `else` logic only, which is a bit hacky and unstable. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-02-12minor: don't show drop hints for other patterngohome001-6/+6
2025-02-12ci: use ubuntu 24 for free arm runnerMarcoIeni-1/+1
2025-02-12Merge pull request #19143 from Veykril/push-mkokotluzskwLukas Wirth-2/+22
Propogate error types in mir type projections
2025-02-12Propogate error types in mir type projectionsLukas Wirth-2/+22
2025-02-12Merge pull request #19140 from joshrotenberg/remove-mdbook-toc-configLukas Wirth-5/+0
doc: remove unused plugin config
2025-02-12Merge pull request #19139 from Wilfred/fix_assists_urlsLukas Wirth-1/+1
manual: Fix URLs to rustdoc pages
2025-02-12fix string and tuple struct formattingWalnut-1/+2
2025-02-12Run CI multiple times a dayMartin Liska-2/+2
2025-02-12Rollup merge of #136885 - RalfJung:linux-android-base-cpu, r=jieyouxuMatthias Krüger-1/+1
i686-linux-android: increase CPU baseline to Pentium 4 (without an actual change As per ``@maurer's`` [comment](https://github.com/rust-lang/rust/issues/136495#issuecomment-2648743078), this shouldn't actually change anything since we anyway add a bunch of extensions that bump things up way beyond Pentium 4. But Pentium 4 is consistent with the other i686 targets and I don't know enough about the exact sequence of CPU generations to be confident with more than this. ;)
2025-02-12Rollup merge of #136646 - oli-obk:pattern-types-ast, r=BoxyUwUMatthias Krüger-39/+66
Add a TyPat in the AST to reuse the generic arg lowering logic This simplifies ast lowering significantly with little cost to the pattern types parser. Also fixes any problems we've had with generic args (well, pushes any problems onto the `generic_const_exprs` feature gate) follow-up to https://github.com/rust-lang/rust/pull/136284#discussion_r1939292367 r? ``@BoxyUwU``
2025-02-11Revert "Stabilize `extended_varargs_abi_support`"Jubilee Young-0/+10
This reverts commit 685f189b4307435b83d625fea397ef36dff4e955.
2025-02-11Auto merge of #136878 - matthiaskrgr:rollup-opilhjv, r=matthiaskrgrbors-2/+2
Rollup of 8 pull requests Successful merges: - #135285 (it-self → itself, build-system → build system, type-alias → type alias) - #135677 (Small `rustc_resolve` cleanups) - #136239 (show supported register classes in error message) - #136246 (include note on variance and example) - #136354 (Update docs for impl keyword) - #136786 (Remove the deduplicate_blocks pass) - #136833 (compiler: die immediately instead of handling unknown target codegen) - #136847 (Simplify intra-crate qualifiers.) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-11remove unused plugin configJosh Rotenberg-5/+0
2025-02-11Merge pull request #19133 from joshrotenberg/fix-manual-github-pathsChayim Refael Friedman-3/+3
doc: fix mdbook repository paths
2025-02-11manual: Fix URLs to rustdoc pagesWilfred Hughes-1/+1
Now that the manual lives at /manual/, we need to use absolute URLs to link to rustdoc content.
2025-02-11document the directiveTshepang Mbambo-0/+2
2025-02-11i686-linux-android: increase CPU baseline to Pentium 4 (without an actual ↵Ralf Jung-1/+1
change)
2025-02-11Auto merge of #136586 - Kobzol:lto-rustdoc-fix-stage-1, r=onur-ozkanbors-11/+17
Only apply LTO to rustdoc at stage 2 It doesn't make much sense at stage 1, and it was broken anyway. This was implemented in https://github.com/rust-lang/rust/pull/135832. The issue with LTO and stage 1 rustdoc was reported [here](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/x.20test.20with.20lto.20.3D.20.22thin.22.20fails.20to.20build.20rustdoc.3F). r? `@onur-ozkan`
2025-02-11rename `is_host_target` to `is_builder_target`onur-ozkan-18/+20
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-02-11Remove quotes around href in code line numbersGuillaume Gomez-1/+1
2025-02-11Rollup merge of #135285 - tbu-:pr_fix_typo4, r=GuillaumeGomezMatthias Krüger-2/+2
it-self → itself, build-system → build system, type-alias → type alias
2025-02-11ci: remove more unused files and directories in free runnersMarcoIeni-21/+63
2025-02-11dev-guide: Link to t-lang procedures for new featuresMads Marquart-0/+4
2025-02-11add coverage for `Builder::is_host_target`onur-ozkan-0/+15
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-02-11add `Builder::is_host_target`onur-ozkan-13/+18
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-02-11Correctly handle `user-select: none`Guillaume Gomez-0/+5
2025-02-11Update rustdoc testsGuillaume Gomez-5/+5