bors[bot]
ec4775830c
Merge #2828 #2831
...
2828: Update backtrace r=matklad a=kjeremy
Has some fixes for WinXP
2831: vscode-languageclient 6.0.0-next.10 r=matklad a=kjeremy
The main change is that it removes progress from the proposed section.
Co-authored-by: kjeremy <kjeremy@gmail.com>
2020-01-14 10:40:22 +00:00
bors[bot]
4820a9e790
Merge #2836
...
2836: Move utility functions down r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-01-14 10:30:24 +00:00
Aleksey Kladov
52e7f67128
Move impls_future to Type, where it belongs
2020-01-14 11:29:43 +01:00
Aleksey Kladov
0358f5fdeb
Use lang-items to resolve future trait
2020-01-14 11:29:43 +01:00
Aleksey Kladov
aedff7cdcf
Move utility functions down
2020-01-14 11:29:43 +01:00
Aleksey Kladov
eb8989f9e4
Rename file
2020-01-14 11:29:43 +01:00
Aleksey Kladov
254650ff82
Merge pull request #2826 from matklad/dont-gate-on-windows
...
Dont gate PRs on windows build
2020-01-14 10:56:56 +01:00
kjeremy
a39fe4f1dc
vscode-languageclient 6.0.0-next.10
2020-01-13 16:49:44 -05:00
bors[bot]
d8d8c20077
Merge #2829
...
2829: Log client info if present r=matklad a=kjeremy
Co-authored-by: kjeremy <kjeremy@gmail.com>
2020-01-13 21:44:20 +00:00
kjeremy
170c7bd7e3
Log client info if present
2020-01-13 16:20:47 -05:00
kjeremy
f81232ba4c
Update backtrace
2020-01-13 15:08:27 -05:00
bors[bot]
ea0ee8e5bf
Merge #2818
...
2818: Don't panic if chalk panics r=matklad a=matklad
r? @flodiebold
Trying to paper-over panicking chalk. Not sure if this'll make situation better or worse, but I hope it'll be better, as we won't be tearing down type-inference as a whole
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-01-13 18:01:15 +00:00
Aleksey Kladov
5654387e77
Don't panic if chalk panics
2020-01-13 19:00:42 +01:00
bors[bot]
7ea7de338f
Merge #2825
...
2825: Some clippy lints r=matklad a=kjeremy
Co-authored-by: kjeremy <kjeremy@gmail.com>
2020-01-13 17:06:19 +00:00
Aleksey Kladov
196b374eb2
Dont gate PRs on windows build
2020-01-13 18:06:10 +01:00
bors[bot]
27abd4a1a5
Merge #2824
...
2824: Defer cargo check until after workspace load r=kiljacken a=kiljacken
Fixes #2822
Co-authored-by: Emil Lauridsen <mine809@gmail.com>
2020-01-13 16:52:30 +00:00
kjeremy
c5c5f4260b
Readability
2020-01-13 11:38:53 -05:00
kjeremy
a82c679c97
Some clippy lints
2020-01-13 11:27:06 -05:00
Emil Lauridsen
c774850fd8
Schedule check update regardless of notification setting
2020-01-13 17:22:21 +01:00
Emil Lauridsen
daca5a3711
Defer cargo check until after workspace load
2020-01-13 17:12:14 +01:00
bors[bot]
5621f90071
Merge #2823
...
2823: Dropping a reference does nothing. r=matklad a=kjeremy
Allows clippy to continue compilation
Co-authored-by: kjeremy <kjeremy@gmail.com>
2020-01-13 15:54:32 +00:00
kjeremy
0610444407
Dropping a reference does nothing.
...
Allows clippy to continue compilation
2020-01-13 10:51:39 -05:00
Aleksey Kladov
a30129be5a
build with clang?
2020-01-13 15:20:09 +01:00
Aleksey Kladov
ab6e992c87
musl
2020-01-13 14:53:09 +01:00
Aleksey Kladov
79c7394da2
Merge pull request #2820 from rust-analyzer/releases
...
GitHub releases
2020-01-13 14:48:13 +01:00
Aleksey Kladov
5514ca3997
🎁 GitHub releases 🎁
2020-01-13 14:47:03 +01:00
Aleksey Kladov
875352b2b6
Rename Emacs "extension"
2020-01-13 12:56:33 +01:00
bors[bot]
96e759413d
Merge #2815
...
2815: Report macro calls as functions r=matklad a=kjeremy
Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>
2020-01-13 10:34:43 +00:00
bors[bot]
de717a8635
Merge #2816
...
2816: Add macro_rules item snippet r=matklad a=memoryruins
An user trying out rust-analyzer mentioned to me that they missed `rls-vscode`'s [macro_rules snippet](c2293a63d4/snippets/rust.json (L60)
)
![2020-01-12_17-47-34](https://user-images.githubusercontent.com/6868531/72227227-fcf46480-3567-11ea-9e3b-2f7319d127f7.gif )
Co-authored-by: memoryruins <memoryruinsmusic@gmail.com>
2020-01-13 10:24:17 +00:00
bors[bot]
5fd1b044b6
Merge #2768
...
2768: Rename VS Code extension to rust-analyzer r=matklad a=matklad
I want to merge this before release on Monday, such that we can give heads up on twitter
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-01-13 10:13:47 +00:00
Aleksey Kladov
bd7aa5db14
Rename VS Code extension to rust-analyzer
2020-01-13 11:13:18 +01:00
memoryruins
5575588387
Add macro_rules item snippet
2020-01-12 18:47:15 -05:00
Jeremy Kolb
9e71ff9636
Report macro calls as functions
2020-01-12 17:22:09 -05:00
bors[bot]
a05970da46
Merge #2788
...
2788: Fix file_structure() to recognize macro_rules! r=flodiebold a=ruabmbua
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/2774 .
Not sure what to do about classifying macro definitions. Maybe make all macro invocations a function invocation?
Co-authored-by: Roland Ruckerbauer <roland.rucky@gmail.com>
2020-01-12 17:34:47 +00:00
Roland Ruckerbauer
20b8d283ae
Remove hir usage from macro_rules! detection in structure_node()
2020-01-12 17:34:57 +01:00
Roland Ruckerbauer
15c5426b54
Use hir .path() and .name() to differentiate
...
macro call and macro definition
2020-01-12 17:34:57 +01:00
Roland Ruckerbauer
c6655c67d2
Added test for file_structure unidentified macro definition
2020-01-12 17:34:57 +01:00
Roland Ruckerbauer
db151763d4
Fix file_structure() to recognize macro_rules!
...
where first token != "macro_rules"
2020-01-12 17:34:57 +01:00
bors[bot]
d0b52e5d84
Merge #2814
...
2814: Update crates r=matklad a=kjeremy
Adds a new dependency on autocfg 1.0. There are pending PRs against indexmap, crossbeam and rand to bring them up.
Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>
2020-01-12 15:57:38 +00:00
bors[bot]
f7a7092d69
Merge #2712
...
2712: Supporting extend selection inside macro calls r=edwin0cheng a=edwin0cheng
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-01-12 12:26:40 +00:00
Edwin Cheng
0593da9a36
Fix format
2020-01-12 20:25:58 +08:00
Edwin Cheng
384e1ced88
Use prev_token and next_token
2020-01-12 20:25:58 +08:00
Edwin Cheng
b7ab079211
Use indices first and last instead of min-max
2020-01-12 20:25:58 +08:00
Edwin Cheng
caed836e41
Use first and last token only
2020-01-12 20:25:58 +08:00
Edwin Cheng
b30e6a7b56
Handle extend selection in recursive macro
2020-01-12 20:25:58 +08:00
Edwin Cheng
07f4171b18
Minor fix
2020-01-12 20:25:58 +08:00
Edwin Cheng
4c4416543a
Fix formatting
2020-01-12 20:25:58 +08:00
Edwin Cheng
83b2d78bbb
Supporting extend selection inside macro calls
2020-01-12 20:25:58 +08:00
bors[bot]
8bb2a50ce6
Merge #2807
...
2807: Use attr location for builtin derive in goto-implementation r=matklad a=edwin0cheng
This PR is use attribute location for builtin derive in `ImplBlock`'s NavigationTarget such that the goto-implementation will goto to a correct position.
Related to #2531
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-01-12 11:33:31 +00:00
Edwin Cheng
db5f73d261
Add test
2020-01-12 19:24:34 +08:00