| Age | Commit message (Collapse) | Author | Lines |
|
|
|
clarify and document needs-dynamic-linking
try-job: test-various
|
|
|
|
|
|
The `#[must_use]` attribute has no effect when applied to methods in
trait implementations.
|
|
fix: handle character boundary in search mode
|
|
fix: Do not show safety hints for extern items lacking semantics
|
|
|
|
|
|
fix: Apply adjustments to proper expr when invoking `CoerceMany`
|
|
Simplify panic_context
|
|
fix: Censor cfg_attr for attribute macros
|
|
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
|
|
fix: Lower range pattern bounds to expressions
|
|
fix: Fix postfix completions inside macros
|
|
doc: add xtask codegen command in development README as well
|
|
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
|
|
Rustc dev guide subtree update
r? ``@ghost``
|
|
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``
|
|
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.
|
|
Replace i686-unknown-redox target with i586-unknown-redox
This change is related to https://github.com/rust-lang/rust/issues/136495
|
|
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
|
|
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>
|
|
|
|
|
|
Propogate error types in mir type projections
|
|
|
|
doc: remove unused plugin config
|
|
manual: Fix URLs to rustdoc pages
|
|
|
|
|
|
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. ;)
|
|
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``
|
|
This reverts commit 685f189b4307435b83d625fea397ef36dff4e955.
|
|
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
|
|
|
|
doc: fix mdbook repository paths
|
|
Now that the manual lives at /manual/, we need to use absolute URLs
to link to rustdoc content.
|
|
|
|
change)
|
|
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`
|
|
Signed-off-by: onur-ozkan <work@onurozkan.dev>
|
|
|
|
it-self → itself, build-system → build system, type-alias → type alias
|
|
|
|
|
|
Signed-off-by: onur-ozkan <work@onurozkan.dev>
|
|
Signed-off-by: onur-ozkan <work@onurozkan.dev>
|
|
|
|
|