Kornel
eadea7764e
Use c"lit" for CStrings without unwrap
2024-12-02 18:16:36 +00:00
Laurențiu Nicola
15e8a2691b
Fix proc macro test
2024-11-28 09:40:14 +02:00
Laurențiu Nicola
1a435ed7ed
Bump rustc crates
2024-11-28 08:39:56 +02:00
Laurențiu Nicola
c91f2a3280
Merge from rust-lang/rust
2024-11-28 08:37:36 +02:00
Laurențiu Nicola
6e3cb4abfb
Preparing for merge from rust-lang/rust
2024-11-28 08:37:22 +02:00
Laurențiu Nicola
4e3354ef92
Merge pull request #18511 from darichey/sysroot-query-metadata
...
Re-add `rust-analyzer.cargo.sysrootQueryMetadata`
2024-11-26 15:11:44 +00:00
Laurențiu Nicola
bbce06e92d
Merge pull request #18559 from ChayimFriedman2/recur-unsized
...
fix: Fix a stack overflow when computing the sizedness of a struct that includes itself as the tail field
2024-11-25 19:24:00 +00:00
Chayim Refael Friedman
b4a23bb3fc
Fix a stack overflow when computing the sizedness of a struct that includes itself as the tail field
2024-11-25 20:49:35 +02:00
Laurențiu Nicola
b250e0f043
Merge pull request #18552 from lnicola/rust-src-message
...
internal: Fix missing `rust-src` message
2024-11-24 16:42:18 +00:00
Laurențiu Nicola
63b82dd041
Fix missing rust-src message
2024-11-24 18:27:40 +02:00
Mark Murphy
a3efe3bc29
Update request entry point file path in architecture.md
2024-11-23 13:46:40 -05:00
David Barsky
297db65fe3
Merge pull request #18485 from davidkurilla/feat-migrate-add_braces-to-use-SyntaxFactory
...
feat: convert add_braces to SyntaxFactory SyntaxEditor abstraction
2024-11-19 21:05:17 +00:00
David Barsky
70a098e6fc
Merge pull request #18521 from tareknaser/syntax_factory_reorder_impl_items
...
Migrate `reorder_impl_items` Assist to Use `SyntaxFactory`
2024-11-19 20:38:57 +00:00
Laurențiu Nicola
af318f7320
Merge pull request #18529 from cmrschwarz/allow_leading_whitespace_in_merge_match_arms
...
Improve selection handling for the `merge_match_arms` assist
2024-11-19 17:45:52 +00:00
Laurențiu Nicola
00a8fc1c3d
Merge pull request #18459 from Giga-Bowser/match-placeholders
...
feat: Use snippet placeholders for generated match arms
2024-11-19 17:12:16 +00:00
Christian Schwarz
effe9ac712
improve selection handling for merge_match_arms
2024-11-19 08:22:13 +01:00
Nicholas Nethercote
e9a0c3c98c
Remove TokenKind::InvalidPrefix.
...
It was added in #123752 to handle some cases involving emoji, but it
isn't necessary because it's always treated the same as
`TokenKind::InvalidIdent`. This commit removes it, which makes things a
little simpler.
2024-11-19 18:06:22 +11:00
David Richey
b4a31683c1
Re-add rust-analyzer.cargo.sysrootQueryMetadata
2024-11-18 16:29:33 -06:00
Tarek
a96a0934de
feat: migrate reorder_impl_items assist to use SyntaxFactory
...
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-11-17 12:17:44 +02:00
Chayim Refael Friedman
744e8e870c
Fix related documents diagnostics
...
They were converted to LSP position using the current file's line index, which is obviously wrong.
2024-11-16 21:17:15 +02:00
Laurențiu Nicola
9f4f903bcf
Bump xshell
2024-11-16 18:02:44 +02:00
David Kurilla
c627c1a294
style: remove needless borrow
2024-11-15 19:08:01 +00:00
David Kurilla
34dd288376
style: cargo fmt
2024-11-15 18:02:16 +00:00
Tarek
acb9da7c93
feat: migrate reorder_fields assist to use SyntaxFactory
...
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-11-13 15:02:08 +02:00
David Kurilla
5458612e04
fix: remove unused imports
2024-11-13 00:06:12 +00:00
David Kurilla
9085744662
fix: fix indentation error
2024-11-12 23:58:24 +00:00
David Kurilla
421661553f
fix: fix immutable tree error
2024-11-12 22:43:48 +00:00
Kirill Bulatov
e646263abc
Update the file hash
2024-11-11 16:06:55 +01:00
Kirill Bulatov
572ae698be
Use completion item indices instead of property matching when searching for the completion item to resolve
2024-11-11 15:50:04 +01:00
Laurențiu Nicola
c2ffafdc9a
Merge pull request #18482 from regexident/hir_trait_supertraits_accessors
...
internal: Add public `direct_supertraits(…)` & `all_supertraits(…)` accessor methods to `hir::Trait`
2024-11-11 06:58:17 +00:00
Laurențiu Nicola
a11877735c
Merge pull request #18492 from samestep/docs-dev-no-design-label
...
Replace Design label with C-Architecture
2024-11-10 18:46:57 +00:00
Sam Estep
29f84262a4
Replace with C-Architecture
2024-11-10 13:34:26 -05:00
Master-Hash
ef8a0c0016
editors/code: Match supported debug engines in config with actual supported ones
2024-11-08 08:33:32 +01:00
Laurențiu Nicola
f9d7f6dd34
Merge pull request #18486 from Wilfred/update_minimum_vscode
...
editors/code: Change minimum VS Code from 1.78 to 1.83
2024-11-08 06:51:14 +00:00
Sam Estep
01726389fb
Delete design label from list
2024-11-07 11:49:22 -05:00
Laurențiu Nicola
668f3881d2
Merge pull request #18490 from ShoyuVanilla/dyn-compat-rename
...
minor: Rename `dyn compatible` to `dyn-compatible`
2024-11-07 14:21:40 +00:00
Shoyu Vanilla
902a2c5060
minor: Rename dyn compatible to dyn-compatible
2024-11-07 23:00:29 +09:00
Wilfred Hughes
cd6ddcaf42
editors/code: Change minimum VS Code from 1.78 to 1.83
...
It's been a year since we last bumped this (see #15904 ), and VS Code
1.83 is the first version that supports LSP 3.17.5 (via
vscode-languageclient 9.0.1).
https://code.visualstudio.com/updates/v1_83#_language-server-protocol
2024-11-06 15:00:59 -08:00
David Kurilla
c588849044
feat: convert add_braces to SyntaxFactory SyntaxEditor abstraction
2024-11-06 14:45:00 +00:00
Vincent Esche
d5dec8ab03
Add direct_supertraits(…) HIR-level method to hir::Trait type
2024-11-06 10:02:13 +01:00
Vincent Esche
de30d7dc37
Add pub fn direct_super_traits(db, trait_id) to hir_ty crate
2024-11-06 10:02:13 +01:00
Vincent Esche
fa393dd9d8
Refactor hir::Trait's existing items_with_supertraits(…) method based on new all_supertraits(…) method
2024-11-06 10:02:13 +01:00
Vincent Esche
80df05b8b8
Add pub fn all_supertraits(…) HIR-level method to hir::Trait type
2024-11-06 10:02:13 +01:00
Giga Bowser
bbfee60104
Properly use final tabstop when adding missing match arms
2024-11-05 12:19:20 -05:00
Laurențiu Nicola
59ee3bd948
Enable triagebot transfer feature
2024-11-04 21:35:10 +02:00
Laurențiu Nicola
1330cd1888
Don't try to auto-publish text-edit
2024-11-04 15:23:05 +02:00
Lukas Wirth
acfacff642
Merge pull request #18475 from Veykril/push-zkvkpxttozup
...
Support new #[rustc_intrinsic] attribute and fallback bodies
2024-11-04 12:48:00 +00:00
Lukas Wirth
5cbfb7422b
Support new #[rustc_intrinsic] attribute and fallback bodies
2024-11-04 13:33:55 +01:00
Lukas Wirth
aa59ac3ada
Merge pull request #18473 from Veykril/push-xnlzukoqttvz
...
Render extern blocks in `file_structure`
2024-11-04 11:34:35 +00:00
Lukas Wirth
8071cbd730
Render extern blocks in file_structure
2024-11-04 12:21:05 +01:00