BenjaminBrienen
07bf55f017
ignore another test that fails on windows
2025-02-27 16:09:00 +01:00
BenjaminBrienen
5741189750
ignore doc test that only fails on windows
2025-02-27 15:57:08 +01:00
BenjaminBrienen
b19ef6b046
fix doc tests
2025-02-27 14:58:46 +01:00
BenjaminBrienen
bd7375a58f
enable doctest
2025-02-27 14:58:46 +01:00
Lukas Wirth
d81341372b
Fix sysroot crate-graph construction not mapping crate-ids for proc-macros
2025-02-27 13:20:19 +01:00
Lukas Wirth
e50bc18182
Merge pull request #19096 from darichey/rust-project-sysroot
...
Allow rust-project.json to specify sysroot workspace
2025-02-27 11:22:41 +00:00
LuuuXXX
6d24962cb8
Cofigurate out ohos target to avoid compilation crashes
2025-02-27 11:43:03 +08:00
David Richey
18a678e693
Drop support for stitched sysroot
2025-02-26 14:18:52 -06:00
David Richey
ca5a35e97f
Allow rust-project.json to specify sysroot workspace
2025-02-26 14:18:48 -06:00
Lukas Wirth
95286193e0
Merge pull request #19225 from Giga-Bowser/remove-assists
...
internal: Migrate some low-hanging `remove_*` assists to `SyntaxEditor`
2025-02-26 11:54:31 +00:00
Chayim Refael Friedman
2f5e8d7879
Merge pull request #19204 from kazatsuyu/allow-package-specific-feature
...
Allow "package/feature" format feature flag
2025-02-26 06:01:12 +00:00
Giga Bowser
f155aef64d
internal: Migrate remove_unused_param
assist to SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
93c9f06870
fix: Properly handle removals in SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
6dda2e81c6
internal: Migrate remove_parentheses
assist to SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
daca6b88c4
internal: Migrate remove_mut
assist to SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
b4f2d62952
internal: Improve reporting of intersecting changes
2025-02-25 11:46:45 -05:00
Chayim Refael Friedman
7c5524c854
Disable typos checker for the target feature names
2025-02-25 05:02:17 +02:00
Chayim Refael Friedman
87ed04bac0
Support target features implications in target_feature 1.1
...
We vendor the list of implications, which isn't nice, but t-compiler doesn't want to make rustc_target available to us.
2025-02-25 04:50:26 +02:00
Giga Bowser
6739652af7
minor: Add tabstop to impl body in generate_trait_impl
assist
2025-02-24 13:58:34 -05:00
Lukas Wirth
f6edb7178e
Merge pull request #19171 from ShoyuVanilla/migrate-de-morgan-assist
...
internal: Migrate `apply_demorgan` to `SyntaxEditor`
2025-02-24 13:57:56 +00:00
Lukas Wirth
93bd36dfb9
Merge pull request #18987 from ChayimFriedman2/drop-glue
...
feat: Calculate drop glue and show it on hover
2025-02-24 13:52:17 +00:00
Shoyu Vanilla
a0b9931832
Add take()
method to SyntaxEditor
2025-02-24 22:42:57 +09:00
Shoyu Vanilla
bf0c3944f8
Migrate apply_demorgan
to SyntaxEditor
2025-02-24 22:41:53 +09:00
Shoyu Vanilla
f06f1b81bb
Migrate some leftovers in add_missing_match_arms
2025-02-24 22:41:52 +09:00
Lukas Wirth
e2c281aaae
Merge pull request #19219 from Veykril/push-rvosplwpwqqt
...
Vendor `always-assert` into `stdx`
2025-02-24 13:15:39 +00:00
Lukas Wirth
b0380dbfbc
Merge pull request #19211 from Timmmm/user/timh/import_private
...
Include private items in completions for local crates
2025-02-24 13:13:31 +00:00
Lukas Wirth
f63f845783
Merge pull request #19197 from andylokandy/insta
...
feat: update insta inline snapshot when clicking 'Update Test' runnable
2025-02-24 13:11:45 +00:00
Lukas Wirth
9a462b7c36
Vendor always-assert
2025-02-24 14:00:34 +01:00
Laurențiu Nicola
f641813e07
Format code
2025-02-24 10:28:46 +02:00
Laurențiu Nicola
a5bf2d5604
Add rustc_hashes and bump the others
2025-02-24 10:10:51 +02:00
Laurențiu Nicola
807aa45e0a
Merge from rust-lang/rust
2025-02-24 09:42:57 +02:00
Lukas Wirth
6d68c475c7
Merge pull request #19191 from Veykril/push-yzzlosskwrxs
...
Remove `limit` crate in favor `usize`
2025-02-23 16:50:32 +00:00
Lukas Wirth
0b2e8166a1
Remove limit
crate in favor usize
2025-02-23 17:35:09 +01:00
Tim Hutt
8d91f1cc17
Include private items in completions for local crates
...
Don't filter out private items when completing paths in the same crate. Instead respect the `privateEditable` setting.
Fixes #9850
2025-02-23 13:25:53 +00:00
niller-g
18d6e281b3
Fix codegen of parser inline tests runner
...
When running `cargo codegen` the `crates/parser/test_data/generated/runner.rs` file is only updated when some file in `crates/parser/test_data/inline` changes. However this is not sufficient in all cases
2025-02-23 11:41:34 +01:00
Jacob Pratt
001a4019df
Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross
...
Greatly simplify lifetime captures in edition 2024
Remove most of the `+ Captures` and `+ '_` from the compiler, since they are now unnecessary with the new edition 2021 lifetime capture rules. Use some `+ 'tcx` and `+ 'static` rather than being overly verbose with precise capturing syntax.
2025-02-23 02:44:18 -05:00
Michael Goulet
fb3a49ed55
Greatly simplify lifetime captures in edition 2024
2025-02-22 22:24:52 +00:00
Chayim Refael Friedman
9df88ff0f6
Merge pull request #19182 from ShoyuVanilla/issue-19177
...
fix: Binding wrong associated type when lowering bounds like `T: Trait<Assoc = U>`
2025-02-22 21:32:46 +00:00
Shirayama Kazatsuyu
64a869c714
Allow "package/feature" format feature flag
2025-02-22 22:27:30 +09:00
Laurențiu Nicola
a7547a473b
Switch back to RUST_SRC_PATH
2025-02-22 09:07:52 +02:00
andylokandy
b59b04ffe2
fix
2025-02-21 21:31:23 +08:00
andylokandy
03c24d7c28
feat: update insta inline snapshot when clicks 'Update Test' runnable
2025-02-21 21:18:20 +08:00
Jubilee Young
eb4c00e9c7
rust-analyzer: use new function in (incorrect) layout computation
...
This is only to fix the build.
2025-02-20 19:55:29 -08:00
Zachary S
8aba4e6dcb
Remove BackendRepr::Uninhabited
, replaced with an uninhabited: bool
field in LayoutData
.
...
Also update comments that refered to BackendRepr::Uninhabited.
2025-02-20 13:27:32 -06:00
Lukas Wirth
88bc40aac0
Merge pull request #19189 from Veykril/push-qutznxznnwqn
...
minor: Improve unset `OUT_DIR` error message
2025-02-20 18:15:29 +00:00
Lukas Wirth
6b32c8329f
Improve unset OUT_DIR error message
2025-02-20 19:00:23 +01:00
Lukas Wirth
6265c53132
Merge pull request #19151 from infiniteregrets/infi/fix-proc-macro
...
Use correct working directory for non-workspace proc-macro execution
2025-02-20 16:04:52 +00:00
Shoyu Vanilla
a82773ab48
Explicitly compare TypesMap
as ptrs
2025-02-20 08:49:00 +09:00
Shoyu Vanilla
9d459e8de7
fix: Binding wrong assoc ty when lowering trait ref bound
2025-02-20 00:47:21 +09:00
Ali Bektas
9d5a97368a
Add a check_assist_* overload and move tests under assists
2025-02-18 21:58:27 +01:00