Laurențiu Nicola
19fa3deab3
Preparing for merge from rust-lang/rust
2025-02-17 13:20:07 +02:00
Lukas Wirth
c7a2986c20
Merge pull request #19158 from PoignardAzur/expaned_pub_glob_imports
...
Implement expand_glob_reexport assist
2025-02-17 09:46:29 +00:00
Lukas Wirth
d7fb8f15c7
Merge pull request #19122 from Austaras/master
...
pass struct fields to chalk
2025-02-17 09:37:55 +00:00
Lukas Wirth
123f17c57b
Merge pull request #19127 from ChayimFriedman2/different-generic-args
...
feat: Refactor path lowering and serve a new path diagnostic
2025-02-17 08:30:10 +00:00
Chayim Refael Friedman
04ab8373c8
Fix sorting of runnables
...
There were two mistakes: first, tests were sorted before test modules, and second, we re-sorted based on the name only, which cancelled the sort based on the kind.
2025-02-17 03:03:29 +02:00
Chayim Refael Friedman
2e7158b458
Refactor path lowering
...
And add a new diagnostic for non-`Fn` parenthesized generic args.
Path lowering started to look like a mess, with each function carrying additional parameters for the diagnostic callback (since paths can occur both in type and in expression/pattern position, and their diagnostic handling is different) and the segment index, for the diagnostics report. So I refactored it from stateless functions on `TyLoweringContext` into stateful struct, `PathLoweringContext`, that tracks the process of lowering a path from resolution til assoc types selection.
2025-02-16 19:44:50 +02:00
Lukas Wirth
4273bece6f
Merge pull request #19137 from asuto15/highlight-extern-crate
...
fix: highlight `extern crate` in doc comments
2025-02-16 14:07:07 +00:00
Lukas Wirth
c8a5743775
Merge pull request #19155 from ShoyuVanilla/migrate-missing-match-arms
...
internal: Remove mutable syntax tree usages from `add_missing_match_arms` assist
2025-02-16 14:06:45 +00:00
Lukas Wirth
c5f49cf071
fix: Stabilize sort order of related_tests
2025-02-16 13:18:47 +01:00
Lukas Wirth
9e507b2117
Merge pull request #19161 from Veykril/push-prmuyxlnxzxo
...
fix: Improve sort order of runnables
2025-02-16 11:37:52 +00:00
Lukas Wirth
b54269c2b1
fix: Stabilize sort order of runnables
2025-02-16 12:22:26 +01:00
Lukas Wirth
930918d827
Improve error recovery when method-calling an assoc function
2025-02-16 11:49:48 +01:00
Lukas Wirth
af804d23e2
Set RUSTUP_TOOLCHAIN when loading sysroot workspace
2025-02-16 10:54:08 +01:00
Olivier FAURE
824b18248c
Re-generate doctests
2025-02-15 16:26:28 +01:00
Shoyu Vanilla
4c7b6099ca
Temporarily ignore tests with comments
2025-02-16 00:12:03 +09:00
Olivier FAURE
12530066a2
Implement expand_glob_reexport assist
2025-02-15 16:07:33 +01:00
Olivier FAURE
6e7838d81d
Factor out business logic of expand_glob_import
2025-02-15 13:23:32 +01:00
asuto15
eaf22bcdce
fix: remove unnecessary conversion
2025-02-15 13:18:18 +09:00
asuto15
84485a8568
Delete library modifier to highlighting for extern crate
2025-02-15 12:06:21 +09:00
Jacob Lifshay
bad69a3d04
add cargo's git checkouts to the list of paths to mark as read-only in vscode
2025-02-13 18:48:36 -08:00
Shoyu Vanilla
7c61ec72e7
internal: Remove mutable syntax tree usages from add_missing_match_arms assist
2025-02-14 02:36:05 +09:00
Lukas Wirth
1951cf5aaa
Merge pull request #19141 from Wilfred/split_editors
...
manual: Separate out installation and configuration pages
2025-02-13 06:44:39 +00:00
David Richey
b3ef716d16
Apply cfg.setTest to json projects
2025-02-12 14:05:34 -06:00
asuto15
21b0c22054
Delete useless comma
2025-02-13 04:33:08 +09:00
asuto15
d72b2df152
Add modifiers to highlighting for extern crate
2025-02-13 03:58:20 +09:00
Wilfred Hughes
7ef1fcf972
manual: Separate out installation and configuration pages
...
Organise the installation content into:
* VS Code instructions
* Binary installation
* Editor configuration
2025-02-12 10:21:09 -08:00
Lukas Wirth
2190e7b5d4
Merge pull request #19142 from Veykril/push-upwqztrsuwpz
...
Spawn toolchain querying processes in parallel
2025-02-12 16:04:57 +00:00
Lukas Wirth
875f3e2c88
Rename sysroot src/lib related things
2025-02-12 16:51:27 +01:00
Lukas Wirth
caa651a56f
Merge pull request #19148 from Veykril/push-ptnykrwnwwlu
...
Improve error recovery when method-calling a field
2025-02-12 15:51:04 +00:00
Lukas Wirth
d9256abe72
Improve error recovery when method-calling a field
2025-02-12 16:37:15 +01:00
Lukas Wirth
f26f1dda44
Spawn toolchain querying processes in parallel
2025-02-12 16:24:49 +01:00
Lukas Wirth
537f4b258f
Merge pull request #18928 from roife/fix-18918
...
fix: handle character boundary in search mode
2025-02-12 14:07:51 +00:00
Lukas Wirth
2de75297fc
Merge pull request #19109 from Veykril/push-nzpuuqommpnq
...
fix: Do not show safety hints for extern items lacking semantics
2025-02-12 13:58:56 +00:00
roife
0d8015cb23
fix: handle character boundary in search mode
2025-02-12 14:47:28 +01:00
Lukas Wirth
a09ece2925
fix: Do not show safety hints for extern items lacking semantics
2025-02-12 14:43:51 +01:00
Lukas Wirth
4a1559344f
Merge pull request #19111 from ShoyuVanilla/issue-19021
...
fix: Apply adjustments to proper expr when invoking `CoerceMany`
2025-02-12 13:42:52 +00:00
Lukas Wirth
53e687058c
Merge pull request #19110 from eagr/panic-context
...
Simplify panic_context
2025-02-12 13:41:11 +00:00
Lukas Wirth
815919578b
Merge pull request #19125 from ChayimFriedman2/cfg-attr-fast
...
fix: Censor cfg_attr for attribute macros
2025-02-12 13:38:24 +00:00
Lukas Wirth
444c2f961a
Merge pull request #18995 from alibektas/12210
...
fix: Lower range pattern bounds to expressions
2025-02-12 11:58:33 +00:00
Lukas Wirth
ad8c6c6b46
Merge pull request #19129 from ChayimFriedman2/snippet-macro
...
fix: Fix postfix completions inside macros
2025-02-12 11:55:46 +00:00
Lukas Wirth
f504084d4b
Merge pull request #19132 from joshrotenberg/book-readme-run-codegen
...
doc: add xtask codegen command in development README as well
2025-02-12 11:49:11 +00:00
Lukas Wirth
9a257e94ce
Merge pull request #19136 from rust-lang/dependabot/npm_and_yarn/editors/code/esbuild-0.25.0
...
Bump esbuild from 0.18.12 to 0.25.0 in /editors/code
2025-02-12 11:48:43 +00:00
gohome001
c12a2e750d
minor: don't show drop hints for other pattern
2025-02-12 17:18:42 +08:00
Lukas Wirth
4aa318c35c
Merge pull request #19143 from Veykril/push-mkokotluzskw
...
Propogate error types in mir type projections
2025-02-12 08:40:43 +00:00
Lukas Wirth
3a041fcc2c
Propogate error types in mir type projections
2025-02-12 09:24:33 +01:00
Lukas Wirth
8ddf82b5b7
Merge pull request #19140 from joshrotenberg/remove-mdbook-toc-config
...
doc: remove unused plugin config
2025-02-12 07:48:50 +00:00
Lukas Wirth
98096fedac
Merge pull request #19139 from Wilfred/fix_assists_urls
...
manual: Fix URLs to rustdoc pages
2025-02-12 07:48:28 +00:00
Josh Rotenberg
3a7a47b3b6
remove unused plugin config
2025-02-11 13:52:01 -08:00
Chayim Refael Friedman
8453e14706
Merge pull request #19133 from joshrotenberg/fix-manual-github-paths
...
doc: fix mdbook repository paths
2025-02-11 20:28:48 +00:00
Wilfred Hughes
d695e33c83
manual: Fix URLs to rustdoc pages
...
Now that the manual lives at /manual/, we need to use absolute URLs
to link to rustdoc content.
2025-02-11 12:10:32 -08:00