Commit graph

506 commits

Author SHA1 Message Date
bors[bot] 530ff9f57f
Merge #3533
3533: Updates insta to 0.15.0 and bumps console to 0.10.0 r=matklad a=kjeremy



Co-authored-by: kjeremy <kjeremy@gmail.com>
2020-03-09 14:38:20 +00:00
kjeremy d1e9f0af04 Updates insta to 0.15.0 and bumps console to 0.10.0 2020-03-09 10:28:30 -04:00
kjeremy c981c8b0d0 Fix SelectionRange return type 2020-03-09 10:17:16 -04:00
Florian Diebold 24e98121d8 Try to complete within macros 2020-03-07 15:48:06 +01:00
kjeremy 2a8b7bc648 Bump to quote-1.0.3 since 1.0.2 is blacklisted 2020-03-05 15:21:20 -05:00
kjeremy cae888e926 Update deps 2020-03-04 10:20:03 -05:00
Aleksey Kladov e839d793ae Drop one once_cell dep 2020-03-04 12:22:47 +01:00
Aleksey Kladov f79719b8ae Move find_refs_to_def 2020-03-04 12:22:47 +01:00
Aleksey Kladov 19115e9fab Support cross-crate marks 2020-03-04 11:55:25 +01:00
Laurențiu Nicola 91e02ace06 Drop larlpop-intern dep 2020-03-03 07:57:16 +02:00
Laurențiu Nicola f60cf882a8 Update chalk for Ty interners 2020-03-03 00:02:19 +02:00
Laurențiu Nicola 807a56bebf Update chalk for RawId removal 2020-03-02 23:30:38 +02:00
kjeremy 92ae17a117 Update deps 2020-03-02 14:47:25 -05:00
kjeremy c6f4e8de5e lsp-types 0.72 2020-03-02 11:52:46 -05:00
Shotaro Yamada 33de107ed9 Remove unused dependencies 2020-02-27 14:04:13 +09:00
kjeremy bc1985037f Update lsp-types 2020-02-26 16:50:47 -05:00
kjeremy d90d1e8f8e Update 2020-02-26 15:33:16 -05:00
Aleksey Kladov 8046622871 Actually drop unicase dependency 2020-02-26 11:38:33 +01:00
Aleksey Kladov 469011169b ⬆️ rowan 2020-02-25 14:44:51 +01:00
Laurențiu Nicola ed69482d90 Bump chalk and replace TypeFamily with Interner 2020-02-24 22:36:57 +02:00
Jeremy Kolb 0419dbacc9 Update deps 2020-02-24 07:58:54 -05:00
Laurențiu Nicola 9077942212 Bump crossbeam crates 2020-02-22 18:22:09 +02:00
kjeremy 044180847a Bump lsp-types 2020-02-19 09:14:05 -05:00
Kirill Bulatov f6816c253b Update versions 2020-02-18 16:12:40 +02:00
Aleksey Kladov 039f2039a4 Remove unicase dependency 2020-02-18 14:44:52 +01:00
Aleksey Kladov b643ccfaed Drop extra deps 2020-02-18 14:44:52 +01:00
Aleksey Kladov c0fa5e2246 Rename the binary to rust-analyzer 2020-02-18 12:33:16 +01:00
Aleksey Kladov 2c9b91ad32 Merge ra_vfs_glob and ra_lsp_server 2020-02-17 19:07:30 +01:00
Aleksey Kladov 659b0e73cf Merge cli and ra_lsp_server 2020-02-17 19:03:03 +01:00
Aleksey Kladov 2d1b3da5fb Use anyhow 2020-02-17 18:19:25 +01:00
Aleksey Kladov d7be1da8df Inline ra_batch 2020-02-17 17:32:17 +01:00
Aleksey Kladov 57140f1730 Drop proptest tests
It takes waaay to long to compile.

We should add quickcheck tests when we touch the relevant code next
time.
2020-02-17 16:57:06 +01:00
kjeremy ba9fb8822e Update deps 2020-02-17 09:19:55 -05:00
bors[bot] d976772716
Merge #3157
3157: Extend analysis-stats a bit r=matklad a=flodiebold

This adds some tools helpful when debugging nondeterminism in analysis-stats:
 - a `--randomize` option that analyses everything in random order
 - a `-vv` option that prints even more detail

Also add a debug log if Chalk fuel is exhausted (which would be a source of
nondeterminism, but didn't happen in my tests).

I found one source of nondeterminism (rust-lang/chalk#331), but there are still
other cases remaining.

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
2020-02-15 22:35:44 +00:00
Aleksey Kladov 11dda31941 Remove extra dep 2020-02-15 23:23:44 +01:00
Florian Diebold 3484d727c3 Extend analysis-stats a bit
This adds some tools helpful when debugging nondeterminism in analysis-stats:
 - a `--randomize` option that analyses everything in random order
 - a `-vv` option that prints even more detail

Also add a debug log if Chalk fuel is exhausted (which would be a source of
nondeterminism, but didn't happen in my tests).

I found one source of nondeterminism (rust-lang/chalk#331), but there are still
other cases remaining.
2020-02-15 18:04:01 +01:00
Adam Bratschi-Kaye 6f2cab1368
Add error context to failures in ra_project_model using anyhow crate (#3119)
Add error context to failures in ra_project_model using anyhow crate
2020-02-13 11:10:50 +01:00
bors[bot] 759100fb0d
Merge #3062
3062: Implement slice pattern AST > HIR lowering r=jplatte a=jplatte

WIP. The necessary changes for parsing are implemented, but actual inference is not yet. Just wanted to upload what I've got so far so it doesn't get duplicated :)

Will fix #3043

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2020-02-11 21:46:36 +00:00
Jonas Platte a3b104aa6d
Implement slice pattern AST > HIR lowering 2020-02-11 22:33:11 +01:00
kjeremy f51e3a357e Update some crates 2020-02-10 10:42:56 -05:00
bors[bot] 895cdb5883
Merge #3034
3034: Remove ImportLocator hack r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-06 16:50:01 +00:00
kjeremy 6fdbf9038f Update indexmap and bstr 2020-02-06 10:44:43 -05:00
Aleksey Kladov a173e31890 Make assists use ImportsLocator directly 2020-02-06 16:40:28 +01:00
bors[bot] ff2d77bde6
Merge #3029
3029: Docs r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-06 14:14:47 +00:00
Aleksey Kladov ec6fb8da7c Add profiling around add_impl_members
This intention is pretty slow for `impl Interator`, because it has a
ton of default methods which need to be substituted.

The proper fix here is to not compute the actual edit until the user
triggers the action, but that's awkward to do in the LSP right now, so
let's just put a profiling code for now.
2020-02-06 14:55:10 +01:00
Aleksey Kladov 939f05f3e3 Move to a crate 2020-02-06 12:43:56 +01:00
kjeremy 793eb51b3b Update aho-corasick (removes unsafety) and serde_json 2020-02-04 10:37:01 -05:00
kjeremy 0772f76ad0 Update regex 2020-02-01 12:19:02 -05:00
Aleksey Kladov 21950adc94 Switch Cargo.lock to the new format 2020-01-30 18:14:20 +01:00
Jeremy Kolb a37ee9c8a4 Update crates 2020-01-30 08:07:42 -05:00