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
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
Lukas Wirth
5023945848
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
b3ef716d16
Apply cfg.setTest to json projects
2025-02-12 14:05:34 -06: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
Lukas Wirth
7abfbee31f
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
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
Chayim Refael Friedman
da4c099375
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
4883966818
Merge pull request #18998 from ChayimFriedman2/exclude
...
fix: Make `rust-analyzer.files.excludeDirs` work, actually
2025-02-11 11:41:54 +00:00
gohome001
4036a7a77d
add test case for ignoring inlay hint for macro call
2025-02-11 15:27:34 +08:00
gohome001
6e6bdc311a
don't emit implicit drop inlay hints for macro
2025-02-11 15:24:46 +08:00
dependabot[bot]
b4014deb7e
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
7c68345e1b
fix mdbook paths
2025-02-10 15:20:51 -08:00
Josh Rotenberg
0dd7aad8c3
add xtask codegen command as well
2025-02-10 15:14:00 -08:00
Lukas Wirth
5373014378
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
724b85ef11
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
340e9a3364
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
ef8574aa04
Shadowing BuiltinType by Module
...
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-02-10 17:46:43 +09:00
Laurențiu Nicola
8fd713b7d3
Merge pull request #19126 from lnicola/sync-from-rust
...
minor: Sync from downstream
2025-02-10 06:07:06 +00:00
Laurențiu Nicola
24d7a1490a
Bump rustc crates
2025-02-10 07:52:04 +02:00
Laurențiu Nicola
15cd1f011c
Merge from rust-lang/rust
2025-02-10 07:49:43 +02:00
Laurențiu Nicola
879dc387cd
Preparing for merge from rust-lang/rust
2025-02-10 07:49:25 +02:00
bors
d9a4a47b8b
Auto merge of #136785 - matthiaskrgr:rollup-sdhlna8, r=matthiaskrgr
...
Rollup of 7 pull requests
Successful merges:
- #135488 (Stabilize `vec_pop_if`)
- #136068 (crashes: more tests)
- #136694 (Update minifier version to `0.3.4`)
- #136722 (Visit all debug info in MIR Visitor)
- #136746 (Emit an error if `-Zdwarf-version=1` is requested)
- #136760 (Fix unwrap error in overflowing int literal)
- #136782 (Fix mistake in x86_64-unknown-freebsd platform description)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-02-10 01:41:50 +00:00
Chayim Refael Friedman
b5ad702c62
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
d2459e5c1e
fix target dir test
2025-02-09 16:34:01 -05:00
jyn
9bd9bcf496
fix off-by-one error
2025-02-09 15:23:53 -05:00
Matthias Krüger
cfd65f0315
Rollup merge of #136782 - ehuss:freebsd-platform, r=jieyouxu
...
Fix mistake in x86_64-unknown-freebsd platform description
Fixes the description for x86_64-unknown-freebsd which looks to inadvertently say amd64.
2025-02-09 19:44:54 +01:00