Michael Goulet
3418d5db3a
Fast path for stalled obligations on self ty
2025-06-02 19:23:20 +00:00
Urgau
53e0232ede
Enable triagebot [concern] functionality
2025-06-02 21:22:25 +02:00
antoyo
ac500d40b9
Merge pull request #692 from FractalFir/arm_asm
...
Added some bare-bones support for explict registers in ARM inline assembly
2025-06-02 15:05:21 -04:00
Antoni Boucher
38f134c7db
Remove unneeded patch
2025-06-02 14:35:25 -04:00
Antoni Boucher
2d7d0ee91c
Update to nightly-2025-06-02
2025-06-02 14:35:19 -04:00
Adam Gemmell
3fe6f7616d
Mark Neon f16 vectors as unstable
2025-06-02 18:34:18 +00:00
Adam Gemmell
d2587282eb
Revert vbsl[q]_f16 to unstable
2025-06-02 18:34:18 +00:00
Antoni Boucher
f69d8fc324
Merge branch 'master' into sync_from_rust_2025_06_02
2025-06-02 14:12:36 -04:00
Benjamin Saunders
b51e73701d
Introduce coerce_container_to_any
2025-06-02 11:11:56 -07:00
antoyo
8efeb495bc
Merge pull request #682 from rust-lang/sync_from_rust_2025_05_21
...
Sync from rust 2025/05/21
2025-06-02 14:03:44 -04:00
b-naber
8604e58942
add doc comment and a test with a generic closure
2025-06-02 17:36:17 +00:00
Josh Stone
19e02c8211
Remove bootstrap cfgs from library/
2025-06-02 10:19:58 -07:00
Sidney Cammeresi
a20cf473e7
Lightly tweak docs for BTree{Map,Set}::extract_if
...
- Move explanations into comments to match style
- Explain the second examples
- Make variable names match the data structure
2025-06-02 10:10:00 -07:00
rustbot
bb5de7d72b
Update books
2025-06-02 19:01:18 +02:00
Antoni Boucher
ba53d97497
Fix cast from u128 to f128
2025-06-02 12:44:42 -04:00
b-naber
1d66e66f2f
add body to ClosureDef
2025-06-02 16:25:20 +00:00
bors
449c801783
Auto merge of #141906 - chenyukang:rollup-k6v59ty, r=chenyukang
...
Rollup of 6 pull requests
Successful merges:
- rust-lang/rust#141884 (allow macro_use as first segment)
- rust-lang/rust#141885 ([RTE-484] Update SGX maintainers)
- rust-lang/rust#141892 (Fix false positive lint error from no_implicit_prelude attr)
- rust-lang/rust#141894 (rustc-dev-guide subtree update)
- rust-lang/rust#141895 (tshepang has a new email)
- rust-lang/rust#141897 (Fix citool tests when executed locally)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-06-02 16:15:30 +00:00
Trevor Gross
e83ca86341
cleanup: Use x.biteq(y) rather than x.to_bits() == y.to_bits()
2025-06-02 16:10:49 +00:00
Eric Huss
b0041b8a05
Disable f64 minimum/maximum tests for arm 32
...
This disables the f64 minimum/maximum tests for the
arm-unknown-linux-gnueabihf job. The next release will be supporting
cross-compiled doctests, and these tests fail on that platform.
It looks like this was just fixed via
https://github.com/llvm/llvm-project/pull/142170 , but I assume that will
not trickle down to our copy of llvm in the next couple of weeks.
Assuming that does get fixed when llvm is updated, then these can be
removed.
cc https://github.com/rust-lang/rust/issues/141087
2025-06-02 09:08:01 -07:00
Oli Scherer
d1f9d02104
Clarify why we are talking about a failed const eval at a random place
2025-06-02 15:37:15 +00:00
Oli Scherer
020216c31c
Clarify why we are talking about a failed const eval at a random place
2025-06-02 15:37:15 +00:00
Oli Scherer
166f664495
Use the informative error as the main const eval error message
2025-06-02 15:37:15 +00:00
Oli Scherer
b331b8b96d
Use the informative error as the main const eval error message
2025-06-02 15:37:15 +00:00
Tshepang Mbambo
10f2bcc957
Merge pull request #2443 from smanilov/patch-21
...
Simplify long sentence
2025-06-02 17:30:02 +02:00
Alex Macleod
9b8c42cbb1
Test that all interned symbols are referenced in Clippy sources ( #14842 )
...
This test checks that all symbols defined in Clippy's `sym.rs` file are
used in Clippy. Otherwise, it will fail with a list of symbols which are
unused.
This test only runs when the `internal` feature is set, to allow
developers to temporarily define new, yet unused symbols without failing
the tests. Also, it will not run as part of the compiler test suite, as
an extra symbol should never be seen as a fatal problem in the compiler
repo.
changelog: none
2025-06-02 15:22:31 +00:00
Stan Manilov
e74c2b5225
Simplify long sentence
2025-06-02 17:52:34 +03:00
León Orell Valerian Liehr
9649a9c0c5
Merge pull request #2446 from fmease/fix-warning-blocks
...
Fix some warning blocks that contain Markdown
2025-06-02 16:27:47 +02:00
León Orell Valerian Liehr
0718d8f29f
Fix some warning blocks that contain Markdown
...
Contents inside of an HTML element only get interpreted as Markdown
(as opposed to HTML) if its separated from the HTML tags with line breaks.
2025-06-02 16:21:59 +02:00
Tshepang Mbambo
7fe7fdd71c
Merge pull request #2445 from smanilov/patch-23
...
Add title and toc to Async chapter
2025-06-02 16:18:44 +02:00
Tshepang Mbambo
f8e21d09fa
Merge pull request #2444 from smanilov/patch-22
...
Trivial: dedup word
2025-06-02 16:17:39 +02:00
Stan Manilov
63ecc0ed08
Add title and toc to Async chapter
...
This is standard for other chapters.
2025-06-02 17:16:29 +03:00
Stan Manilov
3b85b2f550
Trivial: dedup word
2025-06-02 17:02:34 +03:00
Lukas Wirth
23f79c10eb
Merge pull request #19893 from Veykril/push-wzqsompmnlmx
...
Enhance renaming to include identifiers that are generated from the original symbol
2025-06-02 13:39:04 +00:00
Lukas Wirth
a18f23210c
Support derive-macros for rename prefix magic
2025-06-02 15:27:13 +02:00
Lukas Wirth
4c1f3c63d7
fix: Fix edition handling for names in rename logic
2025-06-02 15:27:13 +02:00
Lukas Wirth
4d7b1a44db
Enhance renaming to include identifiers that are generated from the original symbol
...
Co-authored-by: Jake Goulding <jake.goulding@integer32.com>
2025-06-02 15:26:21 +02:00
Jakub Beránek
44ba243252
Rollup merge of #141904 - jieyouxu:test-float-parse, r=Mark-Simulacrum
...
test-float-parse: apply `cfg(not(bootstrap))`
Prior to stage 0 redesign, `test-float-parse` ran against in-tree std but now it runs against beta std. `f16::FromStr` is only present in in-tree std and not yet beta std, so apply `cfg(not(bootstrap))` gating to unbrick `./x check --stage=0`.
Fixes rust-lang/rust#141900 .
`./x check --stage=0` in CI is intended for follow-up.
r? `@Mark-Simulacrum` (or bootstrap/libs)
cc `@tgross35`
2025-06-02 15:19:20 +02:00
Jakub Beránek
b2743c7fb1
Rollup merge of #141874 - usamoi:eps, r=tgross35
...
add f16_epsilon and f128_epsilon diagnostic items
cc https://github.com/rust-lang/rust/issues/116909
r? ``@tgross35``
2025-06-02 15:19:19 +02:00
Jakub Beránek
f8e756b0eb
Rollup merge of #141865 - Nadrieril:dont-steal-thir, r=oli-obk
...
Optionally don't steal the THIR
The THIR being stolen is a recurrent pain for authors of rustc drivers. This makes it optional, so that the `thir_body` query can still be used after analysis of the crate has completed.
2025-06-02 15:19:19 +02:00
Jakub Beránek
aeb72a0669
Rollup merge of #141858 - zacryol:spe-docs-typo, r=aDotInTheVoid
...
Fix typo in `StructuralPartialEq` docs
`equialent` => `equivalent`
2025-06-02 15:19:18 +02:00
Jakub Beránek
2cb5b0deb9
Rollup merge of #141767 - marcoieni:free-pr-job, r=Kobzol
...
ci: use free runner for aarch64-gnu-llvm-19-1 PR job
2025-06-02 15:19:17 +02:00
Jakub Beránek
ec9e560a30
Fix create-docs-artifacts.sh with new bors
2025-06-02 15:08:39 +02:00
Yukang
8f240de112
Rollup merge of #141897 - Kobzol:fix-citool-tests, r=marcoieni
...
Fix citool tests when executed locally
They couldn't be executed locally before due to some additional environment reads.
I also investigated the annoying rebuilds that we see on CI all the time, and they are caused by `ring`'s build script. It should be fixed in the next ring release (https://github.com/briansmith/ring/issues/2525 ), so we can just wait for that and then update `ring`.
r? `@marcoieni`
2025-06-02 20:57:44 +08:00
Yukang
ad00cbe860
Rollup merge of #141895 - tshepang:new-address, r=jieyouxu
...
tshepang has a new email
2025-06-02 20:57:43 +08:00
Yukang
a501cc7a19
Rollup merge of #141894 - tshepang:rdg-push, r=jieyouxu
...
rustc-dev-guide subtree update
r? `@ghost`
2025-06-02 20:57:42 +08:00
Yukang
1931272796
Rollup merge of #141892 - chenyukang:yukang-fix-141785-extern-crate, r=petrochenkov
...
Fix false positive lint error from no_implicit_prelude attr
Fixes rust-lang/rust#141785
r? `@petrochenkov`
2025-06-02 20:57:42 +08:00
Yukang
05ee4a3825
Rollup merge of #141885 - raoulstrackx:raoul/rte-484-update_sgx_maintainers, r=Noratrieb
...
[RTE-484] Update SGX maintainers
`@mzohreva` is no longer with Fortanix. We need to change the SGX maintainers accordingly.
2025-06-02 20:57:41 +08:00
Yukang
8d9fc03773
Rollup merge of #141884 - bvanjoi:issue-140255, r=petrochenkov
...
allow macro_use as first segment
Fixes rust-lang/rust#140255
This issue may raise a question: It's reasonable an external crate name or import target be legally named `macro_use`?
2025-06-02 20:57:41 +08:00
bors
2398bd60ef
Auto merge of #141814 - flip1995:clippy-subtree-update, r=Manishearth
...
Clippy subtree update
r? `@Manishearth`
2025-06-02 12:56:24 +00:00
bors
8708e3fca1
Auto merge of #141814 - flip1995:clippy-subtree-update, r=Manishearth
...
Clippy subtree update
r? `@Manishearth`
2025-06-02 12:56:24 +00:00