Wafarm
e513ce3fb4
Check identifiers defined in macros when suggesting identifiers hidden by hygiene
2025-12-04 14:58:46 +08:00
reddevilmidzy
d49075f083
Suppress ref mut suggestion for for-loop bindings
2025-12-04 15:13:40 +09:00
reddevilmidzy
f30eced2e3
Wrap binding name in parentheses in for-loop mut suggestion
2025-12-04 15:07:33 +09:00
bors
556beb9ec7
Auto merge of #149602 - lnicola:sync-from-ra, r=lnicola
...
`rust-analyzer` subtree update
Subtree update of `rust-analyzer` to 633cff2520 .
Created using https://github.com/rust-lang/josh-sync .
r? `@ghost`
2025-12-04 05:03:04 +00:00
lapla
2db3c95f72
Point to the item that is incorrectly annotated with #[diagnostic::on_const]
2025-12-04 11:59:19 +09:00
reddevilmidzy
2951d72219
Simplify and robustly compute suggestion span using
...
`vis_span.to(ident.span.shrink_to_lo())`
2025-12-04 11:01:40 +09:00
reddevilmidzy
6ce0f0ff91
Only apply no_mangle_const_items's suggestion to plain const items
2025-12-04 11:01:10 +09:00
Jieyou Xu
4d21e768f1
Don't require a normal tool build of clippy/rustfmt when running their test steps
...
This is redundant and wasteful.
2025-12-04 09:59:01 +08:00
bors
5325015e29
Auto merge of #149600 - mati865:restore-msys2, r=Kivooeo,tgross35
...
Revert #149516 to fix i686-pc-windows-gnu host
Revert rust-lang/rust#149516 because it caused dist to pick up x86_64 `libwinpthreads.dll` dependency, resulting in broken toolchain.
Note, I didn't use the procedure explained at: https://forge.rust-lang.org/compiler/reviews.html#reverts because the revert button isn't there.
This reverts commit 5afd8ff8df , reversing
changes made to 7cb02f9752 .
2025-12-04 00:12:49 +00:00
Hood Chatham
f07a84fde8
Emscripten: Turn wasm-eh on by default
...
As specified by MCP:
https://github.com/rust-lang/compiler-team/issues/920
Resolves https://github.com/rust-lang/rust/issues/148309
2025-12-03 14:34:07 -08:00
Mateusz Mikuła
fdea885b80
Revert #149516 to fix i686-pc-windows-gnu host
...
Revert #149516 because it caused dist to pick up x86_64
`libwinpthreads.dll` dependency, resulting in broken toolchain.
This reverts commit 5afd8ff8df , reversing
changes made to 7cb02f9752 .
2025-12-03 21:23:37 +01:00
Jakub Beránek
c115598506
Apply the bors environment also to the outcome job
...
To fix passing the toolstate token to `publish_toolstate.sh`.
2025-12-03 20:44:33 +01:00
Ralf Jung
d633b668a0
update miri comments regarding pow non-determinism
2025-12-03 19:44:34 +01:00
Jakub Beránek
fce8552f82
Use branch name instead of HEAD when unshallowing
2025-12-03 19:43:50 +01:00
quaternic
7e7d724373
Implement benchmarks for uN::{gather,scatter}_bits
2025-12-03 20:39:51 +02:00
Paul Murphy
b54b288518
Allow PowerPC spe_acc as clobber-only register
...
This register is only supported on the *powerpc*spe targets. It is
only recognized by LLVM. gcc does not accept this as a clobber, nor
does it support these targets.
This is a volatile register, thus it is included with clobber_abi.
2025-12-03 12:37:22 -06:00
Sasha Pourcelot
9ffde14aa4
Recover on misspelled item keyword
2025-12-03 18:09:40 +00:00
Sasha Pourcelot
f9b30df1b0
Add test tracking recovery for misspelled item keyword
2025-12-03 17:18:22 +00:00
Boxy Uwu
2f95ecfdd6
reviews
2025-12-03 16:36:32 +00:00
blyxyas
876c1c9d31
Unify my name in the mailmap
2025-12-03 16:20:44 +00:00
Lukas Wirth
0e706a5c79
Merge pull request #21195 from Veykril/push-nnzprznzurwz
...
fix: More proc-macro-srv proto fixes
2025-12-03 16:15:37 +00:00
Jana Dönszelmann
8f8247812e
address review comments
2025-12-03 17:01:49 +01:00
Jonathan Brouwer
1d204fcf1d
Add unsafe to no_mangle incremental tests
2025-12-03 17:00:22 +01:00
Jonathan Brouwer
31d289c9bc
Lower spans in AttrPath correctly
2025-12-03 17:00:20 +01:00
Jonathan Brouwer
892bd18ad8
Add a regression test for unsafe nonexistent attributes
2025-12-03 17:00:08 +01:00
Jonathan Brouwer
6e3a015400
UI test changes
2025-12-03 17:00:08 +01:00
Jonathan Brouwer
884fb5aef2
Move attribute safety checking to rustc_attr_parsing
2025-12-03 17:00:06 +01:00
Jana Dönszelmann
97d4d2154f
fixup name in diagnostics
2025-12-03 16:38:24 +01:00
Jana Dönszelmann
9dd3caeebe
only discard items with #[test] on it when target is valid
2025-12-03 16:38:24 +01:00
Jana Dönszelmann
1864bf6a51
ICE when applying test to crate root
2025-12-03 16:38:22 +01:00
Jana Dönszelmann
c3407323ad
Revert "fixup warnings around the compiler"
...
This reverts commit f20175293a .
2025-12-03 16:34:32 +01:00
Jana Dönszelmann
eb03ea4435
Revert "implement and test Iterator::{exactly_one, collect_array}"
...
This reverts commit 699184bba4 .
2025-12-03 16:20:30 +01:00
Lukas Wirth
0c605dd416
fix: More proc-macro-srv proto fixes
2025-12-03 16:17:51 +01:00
bors
83e49b75e7
Auto merge of #149591 - matthiaskrgr:rollup-b3zm9ke, r=matthiaskrgr
...
Rollup of 5 pull requests
Successful merges:
- rust-lang/rust#148918 (Remove an outdated test)
- rust-lang/rust#149244 (Fix std::mem::drop rustdoc misleading statement)
- rust-lang/rust#149532 (Rename supertrait item shadowing lints)
- rust-lang/rust#149541 (Various never type test improvements)
- rust-lang/rust#149590 (linker: Remove special case for `rust-lld` in `detect_self_contained_mingw`)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-12-03 15:13:56 +00:00
Waffle Lapkin
e4f02e40b6
fix guard patterns interaction with never type
2025-12-03 16:01:38 +01:00
tiif
af66b68f63
refactor: make the match exhaustive
2025-12-03 15:01:30 +00:00
tiif
46d8adeb61
Use TypingEnv::fully_monomorphized for evaluating const without generic param path
2025-12-03 15:01:16 +00:00
Boxy Uwu
24a3f58ade
remove redundant lub
2025-12-03 14:55:44 +00:00
Boxy Uwu
76bd21ad66
account for safe target features in fndef<->closure and fndef<->fndef coerce-lubs
2025-12-03 14:55:41 +00:00
Boxy Uwu
2676c9363c
Properly handle closure<->closure and fndef<->fndef coerce-lubs
...
- leak checking the lub for fndef<->fndef coerce-lubs
- start lubbing closure<->closure coerce-lubs and leak check it
2025-12-03 14:53:54 +00:00
Boxy Uwu
12173eba3e
explicit leak check enum
2025-12-03 14:53:54 +00:00
Boxy Uwu
9a1b2e8846
remove normalize call
2025-12-03 14:53:54 +00:00
Boxy Uwu
6f632ef243
non-behaviour changing cleanups
2025-12-03 14:53:54 +00:00
bjorn3
b3bf3158ec
Disable native-lib for x check miri
...
This reduces check times for miri from 2m15s to 20s. And reduces check
times for miri with --compile-time-deps from 1m50s to 7s. This makes
rust-analyzer start a lot faster after switching branches.
2025-12-03 14:49:36 +00:00
reddevilmidzy
d1bc6e3459
Merged tests\ui\type-inference\type-inference-unconstrained-none.rs
2025-12-03 23:43:21 +09:00
reddevilmidzy
cc230fb763
Added comment to tests\ui\str\debug-print-basic-tuple.rs
2025-12-03 23:40:06 +09:00
reddevilmidzy
245096b6ae
Added comment to
...
`tests/ui/mismatched_types/assignment-mismatch-various-types.rs`
merge `tests/ui/mismatched_types/main.rs`
2025-12-03 23:38:42 +09:00
reddevilmidzy
07b1dadf86
Added comment to
...
`tests/ui/type-inference/ambiguous-num-type-method-call.rs`
2025-12-03 23:24:39 +09:00
reddevilmidzy
5e802dd1a1
moved and deleted test
...
tests/ui/issues/issue-4935 is duplicated of
tests/ui/argument-suggestions/suggest-better-removing-issue-126246.rs
2025-12-03 23:18:11 +09:00
Waffle Lapkin
bf0970f0fa
add one more test for type ascription of never
2025-12-03 14:00:45 +01:00