33353 Commits

Author SHA1 Message Date
Josh Rotenberg
f40ff2d8dc move dev docs to manual
fix formatting
2025-02-17 10:47:27 -08:00
Lukas Wirth
40e4f9130f
Merge pull request #19156 from programmerjake/patch-1
add cargo's git checkouts to the list of paths to mark as read-only in vscode
2025-02-14 05:59:17 +00:00
Jacob Lifshay
a9dcc01357
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
Lukas Wirth
51389bd00d
Merge pull request #19141 from Wilfred/split_editors
manual: Separate out installation and configuration pages
2025-02-13 06:44:39 +00:00
Lukas Wirth
c63ef6246f
Merge pull request #19150 from darichey/set-test-json-project
Apply cfg.setTest to json projects
2025-02-13 06:44:10 +00:00
David Richey
a297d438bc Apply cfg.setTest to json projects 2025-02-12 14:05:34 -06:00
Wilfred Hughes
3394744928 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
c661e5e14e
Merge pull request #19142 from Veykril/push-upwqztrsuwpz
Spawn toolchain querying processes in parallel
2025-02-12 16:04:57 +00:00
Lukas Wirth
172a504b56 Rename sysroot src/lib related things 2025-02-12 16:51:27 +01:00
Lukas Wirth
26a5e24507
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
c942fb6061 Improve error recovery when method-calling a field 2025-02-12 16:37:15 +01:00
Lukas Wirth
8a8ff99273 Spawn toolchain querying processes in parallel 2025-02-12 16:24:49 +01:00
Lukas Wirth
12d87252ac
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
8e81cc0772
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
608d7e14d7 fix: handle character boundary in search mode 2025-02-12 14:47:28 +01:00
Lukas Wirth
e0814742f0 fix: Do not show safety hints for extern items lacking semantics 2025-02-12 14:43:51 +01:00
Lukas Wirth
c9838ec62d
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
aa64a6da0e
Merge pull request #19110 from eagr/panic-context
Simplify panic_context
2025-02-12 13:41:11 +00:00
Lukas Wirth
b636cf93e5
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
622ef64f93
Merge pull request #18995 from alibektas/12210
fix: Lower range pattern bounds to expressions
2025-02-12 11:58:33 +00:00
Lukas Wirth
5235caf402
Merge pull request #19129 from ChayimFriedman2/snippet-macro
fix: Fix postfix completions inside macros
2025-02-12 11:55:46 +00:00
Lukas Wirth
3b6f77c722
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
0e5a127607
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
Lukas Wirth
a73224f1dc
Merge pull request #19144 from gohome001/follow_up_implicit_drop
minor: don't show drop hints for other pattern
2025-02-12 11:45:36 +00:00
gohome001
d3d455d4fb minor: don't show drop hints for other pattern 2025-02-12 17:18:42 +08:00
Lukas Wirth
92a3bb938a
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
5af2d6abea Propogate error types in mir type projections 2025-02-12 09:24:33 +01:00
Lukas Wirth
63b4799379
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
dac8631d21
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
97c94ad1a4 remove unused plugin config 2025-02-11 13:52:01 -08:00
Chayim Refael Friedman
f63e4761a9
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
3251d1caa7 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
Chayim Refael Friedman
8aa4ae5e69
Merge pull request #19117 from gohome001/implicit-drop-inlay-hints-bug
Fix: don't emit implicit drop inlay hints for macro
2025-02-11 13:18:04 +00:00
Lukas Wirth
78e7515a30
Merge pull request #18998 from ChayimFriedman2/exclude
fix: Make `rust-analyzer.files.excludeDirs` work, actually
2025-02-11 11:41:54 +00:00
gohome001
42f11d49ee add test case for ignoring inlay hint for macro call 2025-02-11 15:27:34 +08:00
gohome001
55dbf3949d don't emit implicit drop inlay hints for macro 2025-02-11 15:24:46 +08:00
dependabot[bot]
72257fc370
Bump esbuild from 0.18.12 to 0.25.0 in /editors/code
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.18.12 to 0.25.0.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.18.12...v0.25.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 05:37:54 +00:00
Josh Rotenberg
a91f1f3d0c fix mdbook paths 2025-02-10 15:20:51 -08:00
Josh Rotenberg
1f8f323872 add xtask codegen command as well 2025-02-10 15:14:00 -08:00
Lukas Wirth
f5e7172e96
Merge pull request #19124 from jyn514/range-fmt-off-by-one
Fix off-by-one error in RangeFormatting
2025-02-10 15:25:54 +00:00
Chayim Refael Friedman
d6f3ff1b9c Fix postfix completions inside macros
Previously the receiver text was taken directly from the AST, which in macros is missing trivia, leading to corruption (or just unintended replacement of user code).

Now we upmap the range, and extract the original file text in it.
2025-02-10 16:38:13 +02:00
Chayim Refael Friedman
f01f900ff7
Merge pull request #19088 from Hmikihiro/all_remove_duplicate_module_adt
fix: if item exsits on module, resolve as module instead of type
2025-02-10 09:02:30 +00:00
Hayashi Mikihiro
c84cec1547 Shadowing BuiltinType by Module
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-02-10 17:46:43 +09:00
Laurențiu Nicola
37355b344e
Merge pull request #19126 from lnicola/sync-from-rust
minor: Sync from downstream
2025-02-10 06:07:06 +00:00
Laurențiu Nicola
9a3999698e Bump rustc crates 2025-02-10 07:52:04 +02:00
Laurențiu Nicola
bf51af1a6d Merge from rust-lang/rust 2025-02-10 07:49:43 +02:00
Laurențiu Nicola
8124865ec7 Preparing for merge from rust-lang/rust 2025-02-10 07:49:25 +02:00
Chayim Refael Friedman
933832008b Censor cfg_attr for attribute macros
This is not documented (and I discovered that from experimenting and looking at the compiler's source code), but cfg_attrs *on the same level* as the attribute macro should be processed before it is expanded. cfg_attrs *below* should not (and this is contrary to what happens with derive macros, where both should be processed).
2025-02-10 01:28:28 +02:00
jyn
66253b6553 fix target dir test 2025-02-09 16:34:01 -05:00
jyn
1db9402558 fix off-by-one error 2025-02-09 15:23:53 -05:00