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
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
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
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
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
Laurențiu Nicola
9f4e71940f
Fix feature name casing
2024-11-04 10:27:32 +02:00
Lukas Wirth
56e89bc5a4
Allow interpreting consts and statics with interpret function command
2024-11-03 15:35:45 +01:00
Lukas Wirth
72d9929ccd
Merge pull request #18469 from Veykril/push-zwnywqmvtuts
...
feat: Show `static` values on hover
2024-11-03 13:00:32 +00:00
benluiwj
f5e1dce490
Improve error message for too new proc-macro server
2024-11-02 21:46:05 +08:00
Lukas Wirth
b4312375bd
Allow static initializers to be const evaluated
2024-11-02 12:43:11 +01:00
Laurențiu Nicola
9acf57c48e
Format code
2024-11-01 14:12:18 +02:00
Laurențiu Nicola
7303227589
Bump rustc crates
2024-11-01 13:38:35 +02:00
Laurențiu Nicola
d94c49c0e8
Merge from rust-lang/rust
2024-11-01 13:14:25 +02:00
Laurențiu Nicola
21544d8b40
Preparing for merge from rust-lang/rust
2024-11-01 13:14:16 +02:00
bors
145f9cf95d
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
9fa9ef385c
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
a8e1186e3c
Auto merge of #132435 - workingjubilee:rollup-3mgogw9, r=workingjubilee
...
Rollup of 9 pull requests
Successful merges:
- #131168 (Fix `target_os` for `mipsel-sony-psx`)
- #132209 (Fix validation when lowering `?` trait bounds)
- #132294 (Bump Fuchsia)
- #132357 (Improve missing_abi lint)
- #132385 (compiler: Move `rustc_target::spec::abi::Abi` to `rustc_abi::ExternAbi`)
- #132403 (continue `TypingMode` refactor)
- #132417 (macOS: Document the difference between Clang's `-darwin` and `-macosx` targets)
- #132421 (Remove `""` case from RISC-V `llvm_abiname` match statement)
- #132422 (llvm: Match new LLVM 128-bit integer alignment on sparc)
r? `@ghost`
`@rustbot` modify labels: rollup
2024-11-01 02:13:05 +00:00
Jubilee
a25041fd77
Rollup merge of #132417 - madsmtm:document-darwin-macos-difference, r=jieyouxu
...
macOS: Document the difference between Clang's `-darwin` and `-macosx` targets
`rustc`'s `*-apple-darwin` targets are badly named (they should've been called `*-apple-macos`), and this causes confusion wrt. the similarly named but somewhat incompatible Clang targets.
So let's document the difference to at least make things a _little_ easier on our users.
``@rustbot`` label O-macos A-docs
2024-10-31 17:50:43 -07:00
Jubilee
c57b351d38
Rollup merge of #132403 - lcnr:typing-mode, r=compiler-errors
...
continue `TypingMode` refactor
There are still quite a few places which (indirectly) rely on the `Reveal` of a `ParamEnv`, but we're slowly getting there
r? `@compiler-errors`
2024-10-31 17:50:43 -07:00
Jubilee
1219169970
Rollup merge of #132294 - tmandry:bump-fuchsia, r=lqd
...
Bump Fuchsia
r? `@Kobzol`
try-job: x86_64-fuchsia
https://fxbug.dev/376114512
2024-10-31 17:50:41 -07:00
bors
24254efb43
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
Tyler Mandry
5b9d2848cb
Bump Fuchsia
2024-10-31 12:16:26 -07:00
Mads Marquart
40f4b216eb
Document the difference between Clang's -darwin and -macosx targets
2024-10-31 18:20:57 +01:00
lcnr
2cde638ac0
stop using ParamEnv::reveal while handling MIR
2024-10-31 14:55:53 +01:00
Chayim Refael Friedman
f0bf75d647
Parse patterns with leading pipe properly in all places
2024-10-31 15:32:37 +02:00
bors
20c909ff9c
Auto merge of #132401 - matthiaskrgr:rollup-599ieqr, r=matthiaskrgr
...
Rollup of 5 pull requests
Successful merges:
- #130693 (Add `minicore` test auxiliary and support `//@ add-core-stubs` directive in ui/assembly/codegen tests)
- #132316 (CI: use free runners for 3 fast windows jobs)
- #132354 (Add `lp64e` RISC-V ABI)
- #132395 (coverage: Avoid ICE when `coverage_cx` is unexpectedly unavailable)
- #132396 (CI: use free runners for x86_64-gnu-tools and x86_64-rust-for-linux)
r? `@ghost`
`@rustbot` modify labels: rollup
2024-10-31 12:57:11 +00:00
Lukas Wirth
b25a3de4d1
Merge pull request #18447 from ChayimFriedman2/cleanup-tylowerctx
...
Avoid interior mutability in `TyLoweringContext`
2024-10-31 12:48:17 +00:00
bjorn3
3cc0ba8337
Remove support for compressed dylib metadata from rust-analyzer
2024-10-31 12:48:09 +00:00
bjorn3
87b9c092fb
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.
2024-10-31 11:51:00 +00:00
lcnr
563c473e8d
clippy: we've got a LateContext use it for TypingMode
2024-10-31 12:43:22 +01:00
lcnr
aab149b58c
ConstCx stop using ParamEnv::reveal
2024-10-31 12:43:22 +01:00