Aleksey Kladov
|
cd21b0e9c1
|
⬆️ rowan
|
2021-01-19 22:11:42 +03:00 |
|
bors[bot]
|
8a869e870a
|
Merge #7288
7288: Handle self/super/crate in PathSegment as NameRef r=matklad a=Veykril
Wrapping self/super/crate in NameRef as per https://github.com/rust-analyzer/rust-analyzer/pull/7261#issuecomment-760023172
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
|
2021-01-15 18:40:47 +00:00 |
|
Lukas Wirth
|
cb863390f2
|
Handle self/super/crate in PathSegment as NameRef
|
2021-01-15 19:21:23 +01:00 |
|
Aleksey Kladov
|
6dbba4d75d
|
Remove useless wrapper
|
2021-01-15 20:15:33 +03:00 |
|
Vincent Esche
|
c8c2bd097a
|
Fixed typos in local bindings
|
2021-01-09 15:41:29 +01:00 |
|
Kevaundray Wedderburn
|
72b9a4fbd3
|
Change <|> to $0 - Rebase
|
2021-01-07 12:09:23 +00:00 |
|
Aleksey Kladov
|
3d5be5ba5b
|
Fix accidently quadratic syntax rewriter
Switching from SyntaxNode to GreenNode is a costly operation (b/c
dereferencing a synax ptr in `with_green` is linear), so we should
avoid that.
|
2020-12-10 20:07:37 +03:00 |
|
Kirill Bulatov
|
b2e6ca46ca
|
Profile completions better
|
2020-11-27 18:00:03 +02:00 |
|
bors[bot]
|
ada5a88f8f
|
Merge #6512
6512: Don't replace parent node when inserting as first child in algo::diff r=SomeoneToIgnore a=Veykril
This makes the diff a bit more detailed.
See https://github.com/rust-analyzer/rust-analyzer/pull/6287#issuecomment-723889267 for context
cc @SomeoneToIgnore
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
|
2020-11-09 23:41:43 +00:00 |
|
Lukas Wirth
|
a61bb4abb5
|
Don't replace parent node when inserting as first child in algo::diff
|
2020-11-09 20:10:49 +01:00 |
|
Aleksey Kladov
|
e72cd4600e
|
Fix debug for SyntaxRewriter
|
2020-11-09 14:09:49 +01:00 |
|
Lukas Wirth
|
750ab54573
|
Do insertion lookahead in algo::diff
|
2020-10-26 16:03:37 +01:00 |
|
Lukas Wirth
|
45860d5207
|
Remove InsertPos::Before variant in Syntax Rewriter
|
2020-10-24 21:58:03 +02:00 |
|
Lukas Wirth
|
aca2735d1e
|
Support insertion in SyntaxRewriter
|
2020-10-24 20:53:16 +02:00 |
|
Lukas Wirth
|
0059188e77
|
algo::diff tests
|
2020-10-22 14:48:24 +02:00 |
|
Lukas Wirth
|
d86863aeb4
|
Rewrite algo::diff to support insertion and deletion
|
2020-10-22 09:51:11 +02:00 |
|
Kirill Bulatov
|
cdd75a699a
|
Omit lenses for not runnable doctests
|
2020-08-22 22:03:02 +03:00 |
|
Aleksey Kladov
|
a1c187eef3
|
Rename ra_syntax -> syntax
|
2020-08-12 18:30:53 +02:00 |
|