Commit Graph

38179 Commits

Author SHA1 Message Date
Lukas Wirth
2c7c84e002 Merge pull request #21380 from Veykril/push-nolvxuourwru
feat: Implement fine grained client side request cancellation support
2026-02-07 13:11:31 +00:00
Lukas Wirth
6d4f51c62c Correctly implement client side request cancellation support 2026-02-07 14:02:13 +01:00
Lukas Wirth
d5c46d126c Bump salsa 2026-02-07 14:02:13 +01:00
Lukas Wirth
482df4f9d6 Merge pull request #21593 from rust-lang/dependabot/cargo/time-0.3.47
Bump time from 0.3.44 to 0.3.47
2026-02-07 12:50:45 +00:00
dependabot[bot]
61c9977751 Bump time from 0.3.44 to 0.3.47
Bumps [time](https://github.com/time-rs/time) from 0.3.44 to 0.3.47.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.44...v0.3.47)

---
updated-dependencies:
- dependency-name: time
  dependency-version: 0.3.47
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-07 12:33:55 +00:00
Lukas Wirth
e7fc96b2b0 Merge pull request #21488 from Veykril/push-ptvulypwwmvz
internal: Remove `Edition::CURRENT_FIXME`
2026-02-07 12:23:06 +00:00
Lukas Wirth
85b60ac340 internal: Remove Edition::CURRENT_FIXME 2026-02-07 13:14:17 +01:00
Lukas Wirth
c432aac1fe Merge pull request #21599 from Veykril/push-oqmszvwttzsz
internal: Simplify binding hash computation in syntax highlighting
2026-02-07 08:37:41 +00:00
Lukas Wirth
64eb70f464 internal: Simplify binding hash computation in syntax highlighting 2026-02-07 09:28:00 +01:00
Lukas Wirth
d2a00da092 Merge pull request #21569 from ChayimFriedman2/parens-multi-impl-trait
fix: Cover more cases where we need parentheses in `&(impl Trait1 + Trait2)`
2026-02-05 11:18:56 +00:00
Lukas Wirth
ccd3924038 Merge pull request #21573 from ChayimFriedman2/include-bytes-len
fix: Infer the expected len in `include_bytes!()`, to avoid mismatches
2026-02-05 11:18:24 +00:00
Lukas Wirth
1d79e8e291 Merge pull request #21578 from ChayimFriedman2/reparse-unknown
fix: Use `display_source_code()` in `ReferenceConversion`
2026-02-05 11:16:39 +00:00
Lukas Wirth
538a890e38 Merge pull request #21579 from ChayimFriedman2/cycle
fix: Lowering cycle fixes
2026-02-05 11:16:15 +00:00
Lukas Wirth
ef944c0619 Merge pull request #21580 from Wilfred/display_command_shortened
fix: Truncate display version of commands consistently
2026-02-05 11:15:12 +00:00
Lukas Wirth
96e1ca2536 Merge pull request #21585 from Act0r1/docs/improve-documentation
docs: improve documentation
2026-02-05 11:14:27 +00:00
yea8er
dbdebafe09 docs: use triple backticks for pacman command 2026-02-04 18:13:17 +03:00
Chayim Refael Friedman
1433910d1f Merge pull request #21526 from A4-Tacks/comp-not-in-cond
fix: Fix not complete `.not` in condition
2026-02-04 10:19:25 +00:00
yea8er
004fab77c2 docs: additional improvements 2026-02-04 11:50:41 +03:00
yea8er
1918d4c90a docs: remove shell prompt symbols and fix code block languages 2026-02-04 11:45:07 +03:00
Wilfred Hughes
031930de60 fix: Truncate display version of commands consistently
In #20327 we started truncating custom check commands so they render
nicely in the IDE. This was then accidentally undone in
9c18569d0c, and ended up making the
command summary longer (it included full paths).

We ended up with a `Display` implementation and a `display_command`
function that both tried to solve the same problem. I've merged and
simplified the logic and added tests.
2026-02-03 15:53:41 +00:00
A4-Tacks
48ab21edd3 fix: Fix not complete .not in condition
Example
---
```rust
fn foo(cond: bool) {
    if cond.$0
}
```

**Before this PR**

```text
...
sn deref         *expr
sn ref           &expr
...
```

**After this PR**

```text
...
sn deref         *expr
sn not           !expr
sn ref           &expr
...
```
2026-02-03 17:47:48 +08:00
Chayim Refael Friedman
dab67751b9 Provide a cycle handler for GenericPredicates
Unfortunately it obscures bugs, but it's necessary because of malformed code.
2026-02-03 08:21:34 +02:00
Chayim Refael Friedman
c3dbce682d Prevent cycles when lowering from supertrait elaboration
Have a separate query for it.
2026-02-03 08:21:34 +02:00
Chayim Refael Friedman
d46ab4f899 Use display_source_code() in ReferenceConversion
The usage of normal `display()` caused it to emit `{unknown}` which then failed to parse in `make::ty()`.

Really we should not use stringly-typed things here, but that's a change for another day.
2026-02-03 06:55:56 +02:00
Chayim Refael Friedman
a84d92ff21 Merge pull request #21508 from A4-Tacks/move-guard-else-if
Support else-branch for move_guard
2026-02-03 04:22:36 +00:00
Chayim Refael Friedman
631e3aba3b Merge pull request #21557 from A4-Tacks/let-postfix-in-cond
feat: fallback let postfix completions in condition
2026-02-03 04:12:18 +00:00
Chayim Refael Friedman
e1baa4478e Merge pull request #21576 from ChayimFriedman2/remove-non-update
minor: Remove unnecessary `unsafe(non_update_types)`
2026-02-03 02:32:08 +00:00
Chayim Refael Friedman
a22c1afc47 Merge pull request #21572 from goffrie/try
Implement the new homogeneous & heterogeneous try blocks
2026-02-03 02:31:38 +00:00
Chayim Refael Friedman
4db00a9070 Remove unnecessary unsafe(non_update_types) 2026-02-03 04:19:55 +02:00
Geoffry Song
a6d8875ee6 Implement homogeneous & heterogeneous try blocks 2026-02-02 18:13:10 -08:00
Geoffry Song
7cb575bc90 Add Residual, residual_into_try_type to minicore 2026-02-02 18:13:10 -08:00
Geoffry Song
97770dc5d1 Parse try bikeshed T {} syntax 2026-02-02 18:13:10 -08:00
Chayim Refael Friedman
948d7e88ce Infer the expected len in include_bytes!(), to avoid mismatches
Since we can't read the real file size.
2026-02-03 02:25:31 +02:00
Chayim Refael Friedman
b6319a8e7e Cover more cases where we need parentheses in &(impl Trait1 + Trait2)
And refactor the mechanism to be more maintainable.
2026-02-02 17:49:41 +02:00
Lukas Wirth
74eca73f3b Merge pull request #21565 from abdul2801/master
Remove outdated SyntaxErrorKind FIXME comment
2026-02-02 10:03:11 +00:00
Lukas Wirth
bbf2f8c3d5 Merge pull request #21561 from Veykril/push-xvymvmuvzuyn
fix: Fix more glob issues
2026-02-02 10:02:12 +00:00
Abdul
1449bc850d refactor: Remove unused comments related to SyntaxErrorKind 2026-02-02 02:00:43 +05:30
Lukas Wirth
7cb789d982 Merge pull request #21564 from Veykril/push-kvlytkymtvks
fix: Fix upvar analysis of nested closures
2026-02-02
2026-02-01 13:08:38 +00:00
Lukas Wirth
4b9b101906 fix: Fix upvar analysis of nested closures 2026-02-01 13:59:13 +01:00
Lukas Wirth
1cf041f9ba Merge pull request #21410 from Shourya742/2026-01-06-improve-bidirectional-cancellation
Make proc-macro bidirectional calls cancellation safe
2026-02-01 12:06:03 +00:00
bit-aloo
f303bd5cea correct handler generic input 2026-02-01 15:19:03 +05:30
bit-aloo
0afeff11d3 replace panic_any with resume_unwind on Client panic cancelled message 2026-02-01 15:17:00 +05:30
bit-aloo
6334fee6d2 add suggested changes: have a internal error variant, comment on unwindsafe 2026-02-01 15:17:00 +05:30
bit-aloo
c37366e13f adapt ByteRange to new roundtrip 2026-02-01 15:17:00 +05:30
bit-aloo
b9e6c160d2 add error variant for cancelled expansion 2026-02-01 15:16:59 +05:30
bit-aloo
f6bb2dd069 remove repititive error block in callbacks 2026-02-01 15:16:32 +05:30
bit-aloo
0f47fea887 don't kill server on cancellation 2026-02-01 15:15:49 +05:30
bit-aloo
a010936009 make sure we panic in callback so the srv panics and stops 2026-02-01 15:15:48 +05:30
bit-aloo
c2150f47c4 add proc-macro-client error variant 2026-02-01 15:15:10 +05:30
bit-aloo
4d9ce88ea7 catch unwind on client side, and accordingly send Cancel subResponse to server 2026-02-01 15:15:09 +05:30