David Richey
3c98b98ca7
Re-add rust-analyzer.cargo.sysrootQueryMetadata
2024-11-18 16:29:33 -06:00
Laurențiu Nicola
ba56d9b9b5
Merge pull request #18519 from ChayimFriedman2/invalid-offset
...
fix: Fix related documents diagnostics
2024-11-17 07:06:29 +00:00
Chayim Refael Friedman
72e280a5e7
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
9224ec4497
Merge pull request #18518 from lnicola/bump-xshell
...
minor: Bump xshell
2024-11-16 16:16:59 +00:00
Laurențiu Nicola
4d5a6c525d
Bump xshell
2024-11-16 18:02:44 +02:00
David Barsky
1b90e979ae
Merge pull request #18495 from tareknaser/syntax_factory_reorder_fields
...
Migrate `reorder_fields` Assist to Use `SyntaxFactory`
2024-11-15 18:05:36 +00:00
Tarek
5c41c20c11
feat: migrate reorder_fields
assist to use SyntaxFactory
...
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-11-13 15:02:08 +02:00
Laurențiu Nicola
fc98e0657a
Merge pull request #18503 from SomeoneToIgnore/kb/better-resolve-indexing
...
Use completion item indices instead of property matching when searching for the completion item to resolve
2024-11-11 16:31:11 +00:00
Kirill Bulatov
4b621e030a
Update the file hash
2024-11-11 16:06:55 +01:00
Kirill Bulatov
81636f1fd1
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
aabab29274
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
30e71b609b
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
6da2cc272f
Replace with C-Architecture
2024-11-10 13:34:26 -05:00
Laurențiu Nicola
dd9cd22514
Merge pull request #18493 from Master-Hash/fix-code-debugengine-config
...
editors/code: Update supported debug engines in config
2024-11-08 08:57:41 +00:00
Master-Hash
bbd565f5a0
editors/code: Match supported debug engines in config with actual supported ones
2024-11-08 08:33:32 +01:00
Laurențiu Nicola
dbc65836ac
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
d1da09acf5
Delete design label from list
2024-11-07 11:49:22 -05:00
Laurențiu Nicola
1042a8c22c
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
05e5f9e4fd
minor: Rename dyn compatible
to dyn-compatible
2024-11-07 23:00:29 +09:00
Wilfred Hughes
6c7b5025ca
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
Vincent Esche
e6461522bc
Add direct_supertraits(…)
HIR-level method to hir::Trait
type
2024-11-06 10:02:13 +01:00
Vincent Esche
c1155213f3
Add pub fn direct_super_traits(db, trait_id)
to hir_ty
crate
2024-11-06 10:02:13 +01:00
Vincent Esche
5a9767b115
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
89a002ef9b
Add pub fn all_supertraits(…)
HIR-level method to hir::Trait
type
2024-11-06 10:02:13 +01:00
Laurențiu Nicola
b51f9bc736
Merge pull request #18478 from lnicola/triagebot-transfer
...
minor: Enable triagebot `transfer` feature
2024-11-04 19:51:08 +00:00
Laurențiu Nicola
0cdb5429a2
Enable triagebot transfer feature
2024-11-04 21:35:10 +02:00
Laurențiu Nicola
143bba5be2
Merge pull request #18477 from lnicola/rm-ap-text-edit
...
minor: Don't try to auto-publish text-edit
2024-11-04 13:37:01 +00:00
Laurențiu Nicola
a2a9a048b6
Don't try to auto-publish text-edit
2024-11-04 15:23:05 +02:00
Lukas Wirth
1d65cd466f
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
36d68c5d0f
Support new #[rustc_intrinsic] attribute and fallback bodies
2024-11-04 13:33:55 +01:00
Lukas Wirth
9ad98df61d
Merge pull request #18473 from Veykril/push-xnlzukoqttvz
...
Render extern blocks in `file_structure`
2024-11-04 11:34:35 +00:00
Lukas Wirth
3ceaf1fb68
Render extern blocks in file_structure
2024-11-04 12:21:05 +01:00
Laurențiu Nicola
a341d598dc
Merge pull request #18472 from lnicola/reinterpret-function-casing
...
minor: Fix feature name casing
2024-11-04 08:39:50 +00:00
Laurențiu Nicola
881ef8bf13
Fix feature name casing
2024-11-04 10:27:32 +02:00
Lukas Wirth
e44691a604
Merge pull request #18470 from Veykril/push-rxmtkvpulotn
...
Allow interpreting consts and statics with interpret function command
2024-11-03 14:49:27 +00:00
Lukas Wirth
78f3112626
Allow interpreting consts and statics with interpret function command
2024-11-03 15:35:45 +01:00
Lukas Wirth
20ab9708b4
Merge pull request #18469 from Veykril/push-zwnywqmvtuts
...
feat: Show `static` values on hover
2024-11-03 13:00:32 +00:00
Laurențiu Nicola
f17a5bbfd0
Merge pull request #18463 from benluiwj/fix/proc-macro-server-msg-improvement
...
Improve error message for too new proc-macro server
2024-11-02 13:58:33 +00:00
benluiwj
1c71a50e01
Improve error message for too new proc-macro server
2024-11-02 21:46:05 +08:00
Lukas Wirth
94c35f6138
Allow static initializers to be const evaluated
2024-11-02 12:43:11 +01:00
Laurențiu Nicola
d1fbfc676b
Merge pull request #18457 from lnicola/sync-from-rust
...
minor: Sync from downstream
2024-11-01 12:26:18 +00:00
Laurențiu Nicola
b385bf2e53
Format code
2024-11-01 14:12:18 +02:00
Laurențiu Nicola
724f161cc9
Bump rustc crates
2024-11-01 13:38:35 +02:00
Laurențiu Nicola
fabe447c7d
Merge from rust-lang/rust
2024-11-01 13:14:25 +02:00
Laurențiu Nicola
63b149c8d1
Preparing for merge from rust-lang/rust
2024-11-01 13:14:16 +02:00
bors
fba37a0537
Auto merge of #132402 - bjorn3:remove_snap_decompression, r=jieyouxu,Veykril
...
Remove support for decompressing dylib metadata
We haven't been compressing dylib metadata for a while now. Removing decompression support will regress error messages about an incompatible rustc version being used, but dylibs are pretty rare anyway.
Fixes https://github.com/rust-lang/rust-analyzer/issues/18451
2024-11-01 08:01:24 +00:00
bors
a45eb339a0
Auto merge of #131634 - davidlattimore:lld-protected, r=Kobzol
...
Use protected visibility when building rustc with LLD
https://github.com/rust-lang/compiler-team/issues/782
I wasn't sure about having two commits in a PR, but I figured, at least initially it might make sense to discuss these commits together. Happy to squash, or move the second commit to a separate PR.
I contemplated trying to enable protected visibility for more cases when LLD will be used other than just `-Zlinker-features=+lld`, but that would be more a complex change that probably still wouldn't cover all cases when LLD is used, so went with the simplest option of just checking if the linker-feature is enabled.
r? lqd
2024-11-01 05:25:27 +00:00
bors
e88a64e1c4
Auto merge of #132206 - tgross35:update-builtins, r=wesleywiser
...
Update compiler-builtins to 0.1.136
This includes:
* The license change https://github.com/rust-lang/compiler-builtins/pull/717
* The `libm` submodule update, which also has a license change https://github.com/rust-lang/libm/pull/317
* Re-enabling `math` on i686 UEFI https://github.com/rust-lang/compiler-builtins/pull/715
Fixes: https://github.com/rust-lang/rust/issues/128533
2024-10-31 23:31:48 +00:00
Lukas Wirth
0ba893e1a0
Merge pull request #18453 from ChayimFriedman2/leading-or
...
Parse patterns with leading pipe properly in all places
2024-10-31 14:49:35 +00:00
Chayim Refael Friedman
210ead8454
Parse patterns with leading pipe properly in all places
2024-10-31 15:32:37 +02:00