Laurențiu Nicola
0d3d8910a0
Bump smol_str
2024-10-24 10:08:31 +03:00
Laurențiu Nicola
8d479d099b
Bump rustc crates
2024-10-22 10:12:46 +03:00
Noratrieb
6a2b8270c9
Update rustc-hash to version 2
...
This brings in the new optimized algorithm that was shown to have small performance benefits for
rustc.
2024-10-21 11:28:18 +02:00
Johannes Altmanninger
94a4c3abaa
Clamp Position::character to line length
...
LSP says about Position::character
> If the character value is greater than the line length it defaults back to the line length.
but from_proto::offset() doesn't implement this.
A client might for example request code actions for a whole line by sending
Position::character=99999. I don't think there is ever a reason (besides laziness) why the
client can't specify the line length instead but I guess we should not crash but follow protocol.
Technically it should be a warning, not an error but warning is not shown by default so keep
it at error I guess.
Fixes #18240
2024-10-18 15:07:13 +02:00
Laurențiu Nicola
2fe603efe7
Bump rustc crates
2024-10-17 13:11:12 +02:00
Wilfred Hughes
36b9f09917
internal: Use local time when formatting logs
...
When debugging rust-analyzer and looking at logs, it's much easier to read
when the timestamp is in the local timezone.
Before:
2024-08-28T20:55:38.792321Z INFO ParseQuery: invoked at R18460
After:
2024-08-28T13:55:38.792321-07:00 INFO ParseQuery: invoked at R18460
2024-10-16 15:22:57 -07:00
Shoyu Vanilla
77018bc2b8
minor: ra-salsa
in profile.dev.package
2024-10-15 00:53:20 +09:00
David Barsky
ccee36e8dd
chore: rename salsa to ra_salsa
2024-10-14 10:09:22 -04:00
David Richey
0536f18db2
Require rust 1.81
2024-09-25 17:02:17 -04:00
Laurențiu Nicola
d0c3ef0ae4
Bump rustc crates
2024-09-25 09:05:38 +03:00
Lukas Wirth
86658c66b4
Parse builtin#asm expressions
2024-09-04 14:09:03 +02:00
Lukas Wirth
e517b84d98
Bump smol_str
2024-09-03 11:54:33 +02:00
Lukas Wirth
ada65feaa1
Improve proc-macro panic message and workspace loading failure diagnostic
2024-08-22 18:46:23 +02:00
Lukas Wirth
f979667fb5
Remove DescendPreference::SameText
2024-08-22 12:34:20 +02:00
Shoyu Vanilla
588fa2c6ef
Bump rustc_pattern_analysis
2024-08-13 23:15:37 +09:00
Lukas Wirth
da3f7d55eb
internal: Reply to requests with defaults when vfs is still loading
2024-08-12 12:05:15 +02:00
Lukas Wirth
085e4126e6
Move flycheck crate into rust-analyzer main crate
2024-08-08 13:06:39 +02:00
Vincent Esche
7dec7e92ea
Replace [package.repository] = "…"
of published crates with [package.repository.workspace] = true
2024-08-06 00:26:42 +02:00
Lukas Wirth
d2dd4f6d5f
Split out syntax-bridge into a separate crate
2024-08-05 13:45:00 +02:00
Laurențiu Nicola
b392eb4eb5
Fix and enable unsafe_op_in_unsafe_fn
2024-07-25 08:41:30 +03:00
Lukas Wirth
c30bdfcc84
Use symbol in cfg
2024-07-16 10:41:42 +02:00
beetrees
d5db933f9d
Add f16
and f128
support
2024-07-10 10:43:14 +01:00
Lukas Wirth
8a4b1fd96e
Fix stale reference in architecture.md
2024-07-07 09:19:09 +02:00
Lukas Wirth
d859e40db9
Bump rustc_pattern_analysis
2024-06-30 18:41:55 +02:00
Lukas Wirth
db15273d4d
Move dylib version stuff to proc-macro-srv
2024-06-30 15:05:35 +02:00
Lukas Wirth
bfb187aacd
Fix expression scope calculation when within macro expansions
2024-06-30 13:26:17 +02:00
Lukas Wirth
d4dc3ca83b
Register virtual workspace Cargo.toml files in the VFS
2024-06-09 12:54:50 +02:00
Henry Chen
3c6c5cd0bf
minor: replace command-group with process-wrap
...
Because command-group no longer receives updates and depends on an
older version of nix.
2024-05-31 12:43:40 +08:00
Laurențiu Nicola
5a12cfcee0
Bump rustc crates
2024-05-19 11:22:58 +03:00
Lukas Wirth
2a4be8d1f7
Bump Cargo.lock
2024-05-14 10:57:02 +02:00
Lukas Wirth
1915980031
fix: Fix impl Trait<Self>
causing stackoverflows
2024-04-15 15:41:20 +02:00
Lukas Wirth
8078c3d9e8
Bump chalk
2024-04-08 11:03:19 +02:00
Lukas Wirth
2ae3e57c26
Fix new clippy lints
2024-04-01 17:55:56 +02:00
Lukas Wirth
399dbc074b
internal: Enforce utf8 paths
2024-03-19 15:39:00 +01:00
Nadrieril
b99618c191
Bump dependencies
2024-03-17 14:11:44 +01:00
bors
a5035f4931
Auto merge of #16749 - Veykril:on-demand-validation-err, r=Veykril
...
internal: Some method resolution cleanups
2024-03-11 09:18:24 +00:00
Nadrieril
e31484c108
Update the other crates too
2024-03-07 16:44:46 +01:00
Nadrieril
1b0b4220fd
Update rustc_pattern_analysis
to 0.42.0
2024-03-07 16:33:31 +01:00
hkalbasi
44be2432f5
Add test explorer
2024-03-06 00:05:29 +03:30
Lukas Wirth
d21f88883b
Remove some unnecessary cloning in method_resolution
2024-03-05 12:39:27 +01:00
Lukas Wirth
00a6cc0664
Update Cargo.lock
2024-03-05 12:16:19 +01:00
Nadrieril
7c6f7b2c49
Update rustc_pattern_analysis
2024-03-03 00:34:27 +01:00
Lukas Wirth
ab533d887d
fix: Ignore generic arguments in intra doc link path resolution
2024-02-28 14:47:47 +01:00
Lukas Wirth
cc7fe32ba3
fix: Fix completions panicking with certain macro setups
2024-02-27 09:35:57 +01:00
Nadrieril
3356ebd255
Update to latest rustc_pattern_analysis
2024-02-11 22:30:14 +01:00
Tetsuharu Ohzeki
71ea70ebf6
clippy: Enable str_to_string
rule
2024-02-10 01:00:41 +09:00
Tetsuharu Ohzeki
c6637f39c0
clippy: Enable borrowed_box
rule
2024-02-10 00:14:17 +09:00
Tetsuharu Ohzeki
d45cabd029
clippy: Enable derived_hash_with_manual_eq
rule
2024-02-10 00:14:17 +09:00
Tetsuharu Ohzeki
a3e60e7f7a
clippy: Enable needless_doctest_main
rule
2024-02-10 00:14:17 +09:00
Tetsuharu Ohzeki
3365e50180
clippy: Enable forget_non_drop
rule
2024-02-09 23:10:43 +09:00