Rémy Rakic
65eb2e709d
add another NLL problem case 3 variant
2026-02-13 17:29:49 +00:00
bit-aloo
7ce98394cc
migrate generate_impl to use AstNodeEdit
2026-02-13 22:58:11 +05:30
Vadim Petrochenkov
2ee28ca538
rustc_query_impl: Use ControlFlow in visit_waiters instead of nested options
2026-02-13 20:20:02 +03:00
antoyo
1920fb1d35
Merge pull request #851 from rust-lang/sync_from_rust_2026_02_12
...
Sync from rust 2026/02/12
2026-02-13 12:13:29 -05:00
Rémy Rakic
be204dd047
make per-point liveness accessible
...
It avoids round-tripping through `Location`s if you're working with
`Point`s already.
2026-02-13 17:10:29 +00:00
Antoni Boucher
c5cb56957a
Add cast from f16 to non-native integer
2026-02-13 11:45:40 -05:00
Alan Egerton
c43a33eec7
Feed ErrorGuaranteed from late lifetime resolution to RBV
...
If late lifetime resolution fails for whatever reason, forward to RBV
the guarantee that an error was emitted - thereby eliminating the need
for a "hack" to suppress subsequent/superfluous error diagnostics.
2026-02-13 16:24:39 +00:00
Jonathan Brouwer
ee8ca0a89f
Port #[panic_handler] to the new attribute parsers
2026-02-13 16:05:17 +00:00
Jonathan Brouwer
c61c2603cf
Port #[lang] to the new attribute parsers
2026-02-13 16:04:19 +00:00
Antoni Boucher
4a6f0bebfb
Add missing -Zjson-target-spec for m68k sysroot build
2026-02-13 10:39:24 -05:00
Antoni Boucher
ec2996cfba
Add cast from f128 to non-native integer
2026-02-13 10:39:02 -05:00
Lukas Wirth
ca35562cd3
Merge pull request #21640 from Veykril/push-rutrqvxousks
...
minor: Remove incorrect warning log
2026-02-13 15:33:46 +00:00
Lukas Wirth
da9ff14a13
Remove incorrect warning log
2026-02-13 16:24:28 +01:00
xonx
34981bf3cd
add comments to tests
2026-02-13 14:44:40 +00:00
WANG Rui
df798ad68e
ci: Lock cross toolchain version and update docs
2026-02-13 22:11:43 +08:00
WANG Rui
e37374b1ac
ci: dist-arm-linux: Cleanup unused crosstool-ng
2026-02-13 22:11:42 +08:00
WANG Rui
c0c3c59b83
ci: Drop outdated toolchain configuration: aarch64-linux-gnu.defconfig
2026-02-13 22:11:42 +08:00
lcnr
b3d9fbc172
ICE to delayed bug
2026-02-13 13:50:43 +00:00
lcnr
b4f38c1da4
add regression test
2026-02-13 13:50:43 +00:00
Antoni Boucher
e373b93b0b
Fix formatting
2026-02-13 08:35:12 -05:00
Antoni Boucher
27e25ff6d8
Add failing tests
2026-02-13 08:27:31 -05:00
Oscar Bray
ab13120882
Port #[rustc_proc_macro_decls] to the new attribute parser.
2026-02-13 13:24:37 +00:00
Antoni Boucher
5577bd7ac4
Add missing -Zjson-target-spec for m68k test
2026-02-13 08:13:29 -05:00
Antoni Boucher
458adbd66a
Implement fptoint_sat for f16 and f128
2026-02-13 08:12:59 -05:00
Antoni Boucher
c2b8abd810
Update to nightly-2026-02-13
2026-02-13 07:49:27 -05:00
Jonathan Brouwer
d93a38a488
Rollup merge of #152565 - Kivooeo:ctor-diag, r=BoxyUwU
...
fix missleading error for tuple ctor
r? BoxyUwU
fixes https://github.com/rust-lang/rust/issues/151414
2026-02-13 13:35:04 +01:00
Jonathan Brouwer
6638db643f
Rollup merge of #152563 - SpriteOvO:triagebot-ping-messages, r=jieyouxu
...
Replace "bug" with "issue" in triagebot ping messages
Pinging a group might not be for a bug, but for discussion. For example https://github.com/rust-lang/rust/issues/152532#issuecomment-3892646735
2026-02-13 13:35:04 +01:00
Jonathan Brouwer
c3b53f7a36
Rollup merge of #152556 - ozankenangungor:docs-riscv64a23-tier2, r=jieyouxu
...
doc: move riscv64a23-unknown-linux-gnu to tier 2
This updates the platform support documentation to reflect that "riscv64a23-unknown-linux-gnu" is now Tier 2.
-Docs-only change (no compiler/runtime behavior change).
Fixes rust-lang/rust#152539
2026-02-13 13:35:03 +01:00
Jonathan Brouwer
1944af691e
Rollup merge of #152554 - JonathanBrouwer:remove_deprecated_safe, r=jdonszelmann
...
Remove `deprecated_safe` and its corresponding feature gate
This unimplements the feature gate for tracking issue https://github.com/rust-lang/rust/issues/94978
The author of that tracking issue and the MCP seem to no longer exist
Afaik we can just do this, but let me know if I'm wrong
Because this feature has been idle for 3+ years, and it is in the way to finish the attribute refactoring (https://github.com/rust-lang/rust/issues/131229#issuecomment-2971351163 )
When someone wants to do work on it the feature gate can be re-added
r? @jdonszelmann
2026-02-13 13:35:03 +01:00
Jonathan Brouwer
9ca0ebbd53
Rollup merge of #152536 - ozankenangungor:bootstrap-explicit-open-encoding, r=jieyouxu
...
bootstrap: add explicit UTF-8 encoding to text-mode open() calls
Make text-mode `open()` calls in `bootstrap.py`
explicitly use `encoding="utf-8"`.
This avoids relying on platform-dependent default encodings
when running Python < 3.15.
Binary-mode opens remain unchanged.
2026-02-13 13:35:02 +01:00
Jonathan Brouwer
fd598ebac8
Rollup merge of #152440 - him2him2:fix-typos-compiler, r=Kivooeo,Kobzol
...
Fix typos and grammar in compiler and build documentation
Fix contextual typos and grammar issues in compiler and build docs that automated spellcheckers miss:
- `compiler/rustc_codegen_llvm/src/debuginfo/doc.md`: fix 5 issues (adaption → adaptation, "allow to" → "allow V-ing" x3, later → latter + plural)
- `compiler/rustc_thread_pool/src/sleep/README.md`: fix 2 issues (idle → active per context, then → than)
- `src/bootstrap/README.md`: fix 2 issues (rust → Rust, add missing article "the")
- `src/ci/docker/README.md`: fix 2 issues ("come form" → "come from", grammar)
No functional changes.
2026-02-13 13:35:02 +01:00
Jonathan Brouwer
7ea8f5b721
Rollup merge of #152407 - AprilNEA:test/issue-148953-type-const-ctor, r=Kivooeo
...
Add regression test for type_const with unit struct ctor under mGCA
- Add a regression test for https://github.com/rust-lang/rust/issues/148953
Closes #148953
2026-02-13 13:35:01 +01:00
Jonathan Brouwer
e91d02a8c3
Rollup merge of #152392 - TaKO8Ki:missing-generics-in-traits-used-in-const, r=jieyouxu
...
Fix ICE in supertrait_vtable_slot when supertrait has missing generics
Fixes rust-lang/rust#151330
2026-02-13 13:35:01 +01:00
Jonathan Brouwer
f1b935d08f
Rollup merge of #152356 - JonathanBrouwer:inline_diag4, r=jdonszelmann
...
Improve the `inline_fluent!` macro
For https://github.com/rust-lang/rust/issues/151366
This PR turns `inline_fluent!` into a proc macro, so we can run validation on the messages in this macro :)
I started a thread here because I don't like the name of the macro, but that's for a future PR: [#t-compiler > Bikeshed the new `inline_fluent!` macro](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Bikeshed.20the.20new.20.60inline_fluent!.60.20macro/with/572646242 )
2026-02-13 13:35:01 +01:00
Jonathan Brouwer
98e8f99bc0
Rollup merge of #152218 - adwinwhite:fix-mir-borrowck-opaque-handling-keep-all-errors, r=lcnr
...
Report unconstrained region in hidden types lazily
Fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/264
I didn't copy the mechanism of HIR typeck as I found that we just need to be lax in the unconstrained region case.
It already ignores non-defining uses and invalid params.
About tests, I'm having trouble coming up with more complex ones. 🙁
This fixes `ukanren` and `codecrafters-redis-rust` but not rust-lang/rust#151322 and rust-lang/rust#151323 .
I believe they are a [different problem](https://github.com/rust-lang/rust/issues/151322#issuecomment-3864656974 ).
r? @lcnr
2026-02-13 13:35:00 +01:00
Jonathan Brouwer
a211e2fbba
Rollup merge of #152555 - JonathanBrouwer:port_diagnostic_item, r=jdonszelmann
...
Port `#[rustc_diagnostic_item]` to the new attribute parsers
r? @jdonszelmann
2026-02-13 13:34:59 +01:00
Jonathan Brouwer
6fa5694807
Rollup merge of #152515 - Zalathar:dep-kind-vtables, r=nnethercote
...
Extract `DepKindVTable` constructors to their own module
This is a fairly substantial chunk of code in `rustc_query_impl::plumbing` that mostly doesn't need to be inside a macro at all.
The part that does need to be in a macro is the declaration of a named vtable constructor function for each query. I have extracted that into its own separate call to `rustc_middle::rustc_with_all_queries!` in the new module, so that dep-kind vtable construction is almost entirely confined to `rustc_query_impl::dep_kind_vtables`.
There should be no change to compiler behaviour.
r? nnethercote (or compiler)
2026-02-13 13:34:59 +01:00
Jonathan Brouwer
65d982abd8
Rollup merge of #152469 - mu001999-contrib:cleanup/unused-features, r=nadrieril,jdonszelmann
...
Remove unused features
Detected by https://github.com/rust-lang/rust/pull/152164 .
~~Only allow `unused_features` if there are complex platform-specific features enabled.~~
2026-02-13 13:34:58 +01:00
Jonathan Brouwer
9d662b5815
Rollup merge of #152323 - JohnTitor:issue-135845-2, r=lcnr
...
Fix ICE in borrowck when recovering `fn_sig` for `-> _`
(Should be) a proper fix for rust-lang/rust#135845 , replaces a dummy binder with a concrete one not to ICE, as mentioned in https://github.com/rust-lang/rust/pull/147631#issuecomment-3460724226 .
Fixes rust-lang/rust#135845
r? @lcnr @jackh726
2026-02-13 13:34:58 +01:00
usamoi
4796ff1bf5
move escape_symbol_name to cg_ssa
2026-02-13 20:31:18 +08:00
Zalathar
1d6ef95075
Extract DepKindVTable constructors to their own module
2026-02-13 23:19:20 +11:00
dependabot[bot]
c2c7d5d7ef
build(deps): bump qs from 6.14.1 to 6.14.2 in /editors/code
...
Bumps [qs](https://github.com/ljharb/qs ) from 6.14.1 to 6.14.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.14.1...v6.14.2 )
---
updated-dependencies:
- dependency-name: qs
dependency-version: 6.14.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-13 11:43:39 +00:00
Lukas Wirth
4b5b181935
Merge pull request #21609 from Veykril/push-qknzslvkmtyt
...
internal: Use rayon for proc-macro loading
2026-02-13 11:33:11 +00:00
cyrgani
f601b29825
inline SameThread and CrossThread
2026-02-13 11:24:50 +00:00
Lukas Wirth
b132beb7e0
internal: Use rayon for proc-macro loading
2026-02-13 12:24:47 +01:00
cyrgani
31053484a7
replace MessagePipe trait with its impl
2026-02-13 11:23:26 +00:00
Makai
a18724523c
nix-dev-shell: fix a typo
2026-02-13 17:54:34 +08:00
Kivooeo
f63007cd3b
fix missleading error for tuple ctor
2026-02-13 09:54:04 +00:00
Jonathan Brouwer
cbc661022e
Port #[rustc_diagnostic_item] to the new attribute parsers
2026-02-13 09:46:47 +00:00
Shoyu Vanilla (Flint)
f931a79a2a
Merge pull request #21633 from ChayimFriedman2/proc-macro-is-not-fn
...
fix: Do not resolve proc macros in value ns (as functions), only in macro ns, outside their defining crate
2026-02-13 08:47:17 +00:00