kjeremy
e939f740b3
Goto type def through macros
2019-11-18 14:57:42 -05:00
bors[bot]
7614439033
Merge #2304
...
2304: Use Source<&ast::Name> in classify_name r=matklad a=kjeremy
Co-authored-by: kjeremy <kjeremy@gmail.com>
2019-11-18 15:50:47 +00:00
kjeremy
a22cb1daa7
Use Source<&ast::Name> in classify_name
2019-11-18 10:47:19 -05:00
bors[bot]
9cc4d058d2
Merge #2302
...
2302: Collapse TokenMap and RevTokenMap r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-18 13:09:29 +00:00
Aleksey Kladov
2b6f1ab0e2
Collapse TokenMap and RevTokenMap
2019-11-18 16:08:41 +03:00
bors[bot]
789a0d2a64
Merge #2301
...
2301: Don't create a separate bin for format hook r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-18 12:41:59 +00:00
Aleksey Kladov
76da22e66a
Don't create a separate bin for format hook
2019-11-18 15:27:04 +03:00
bors[bot]
157beb8b3f
Merge #2300
...
2300: Token-based reverse-mapping r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-18 12:09:24 +00:00
Aleksey Kladov
b79d678923
Token-based reverse-mapping
2019-11-18 15:08:39 +03:00
bors[bot]
32e72ecd66
Merge #2299
...
2299: More sources r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-18 11:37:46 +00:00
Aleksey Kladov
5e8c22dbf3
More sources
2019-11-18 14:36:11 +03:00
bors[bot]
91509073c5
Merge #2298
...
2298: Add ra_ide_api::expand r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-18 11:24:35 +00:00
Aleksey Kladov
9fcd98e956
Add ra_ide_api::expand
...
This module should handle all tricky bits with mapping macro-expanded
HirFileId to original files the user actually can see in the editor
2019-11-18 14:23:24 +03:00
Aleksey Kladov
6d8ca870b3
More Source
2019-11-18 14:07:13 +03:00
bors[bot]
614c034ffc
Merge #2296
...
2296: Remove obsolete links r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-18 09:59:36 +00:00
Aleksey Kladov
12744345f1
fix bors integration
2019-11-18 12:59:09 +03:00
Aleksey Kladov
a66ed0032a
Remove obsolete links
2019-11-18 12:45:33 +03:00
Aleksey Kladov
34025020b5
Switch to Actions
2019-11-18 12:35:03 +03:00
cad97
396853defb
Run npm travis through xvfb-run
2019-11-18 11:07:47 +03:00
cad97
ec5cde9149
Enable github actions ci
2019-11-18 11:07:47 +03:00
bors[bot]
5e75ded9fc
Merge #2294
...
2294: Publicise GenericParams r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-18 07:36:27 +00:00
Aleksey Kladov
9df3d2e775
Publicise GenericParams
...
See https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Exposing.20GenericParam.2Ename
2019-11-18 10:35:33 +03:00
bors[bot]
28c2d74b21
Merge #2292
...
2292: ⬆️ rowan r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-17 19:25:51 +00:00
Aleksey Kladov
b69dfc163d
⬆️ rowan
2019-11-17 22:21:45 +03:00
bors[bot]
076921c5c7
Merge #2289
...
2289: More correct expansion mapping r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-17 17:17:21 +00:00
Aleksey Kladov
fd52d721e1
More correct expansion mapping
...
We can't really map arbitrary ranges, we only can map tokens
2019-11-17 20:15:55 +03:00
bors[bot]
4dfd155328
Merge #2288
...
2288: Make shift an implementation detail of mbe r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-17 16:12:28 +00:00
Aleksey Kladov
c8f858d043
Make shift an implementation detail of mbe
2019-11-17 19:11:43 +03:00
bors[bot]
64dac40a86
Merge #2287
...
2287: Disable doctests r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-17 15:45:30 +00:00
bors[bot]
4f0d4c65a5
Merge #2286
...
2286: Alias for less verbose tests r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-17 15:35:36 +00:00
Aleksey Kladov
7e2f4b30db
Disable doctests
2019-11-17 18:35:05 +03:00
Aleksey Kladov
52389657c5
Alias for less verbose tests
2019-11-17 18:26:52 +03:00
bors[bot]
2d32e6ba30
Merge #2285
...
2285: Don't store shift redundantly r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-17 15:25:39 +00:00
Aleksey Kladov
6a70bff451
Don't store shift redundantly
2019-11-17 18:22:34 +03:00
bors[bot]
b72abed4eb
Merge #2283
...
2283: Fix #2275 r=matklad a=edwin0cheng
Fix #2275
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2019-11-17 09:35:52 +00:00
Edwin Cheng
977cf381ce
Add bound check
2019-11-17 13:18:42 +08:00
bors[bot]
d0357fc3b2
Merge #2280
...
2280: Add ast for plain and raw string literals r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-16 19:51:25 +00:00
Aleksey Kladov
5b54a93fe7
Add ast for plain and raw string literals
2019-11-16 22:50:41 +03:00
bors[bot]
c27fb3a0ca
Merge #2279
...
2279: Better factoring of macro expansion machinery in goto def r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-16 19:18:46 +00:00
Aleksey Kladov
42604c673d
Better factoring of macro expansion machinery in goto def
2019-11-16 22:18:07 +03:00
bors[bot]
1adc352587
Merge #2273
...
2273: goto in macro calls r=matklad a=matklad
![goto](https://user-images.githubusercontent.com/1711539/68984944-2a50ba80-0824-11ea-896c-c0ea8edcd0d6.gif )
This builds on the awesome infrastructure created by @edwin0cheng
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-16 14:07:44 +00:00
Aleksey Kladov
2eaa8c94a8
Goto definition works inside macros
2019-11-16 17:00:54 +03:00
bors[bot]
786cae520a
Merge #2276
...
2276: Source-ify name_definition r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-11-16 13:50:34 +00:00
bors[bot]
5d9bce6e88
Merge #2274
...
2274: Chalk upgrade & dyn/impl support r=matklad a=flodiebold
- upgrade Chalk, which is a bit more involved than usual this time -- associated type values (in impls) are now a separate entity in Chalk, so we have to intern separate IDs for them...
- use Chalk's dyn/impl Trait support
- fix our handling of binders/bound variables -- before, we didn't use them for anything except Chalk queries, but now that we use them in dyn/impl Trait types and pass that to Chalk, we have to be a bit more careful
Co-authored-by: Florian Diebold <flodiebold@gmail.com>
2019-11-16 13:17:20 +00:00
bors[bot]
7ad4461081
Merge #2263
...
2263: Handle `cargo watch` errors caused by `cargo-watch` itself r=matklad a=oxalica
Currently, it silently fails when `cargo-watch` is installed but broken.
This PR handles missing cases and prompt the error message when failed.
Co-authored-by: oxalica <oxalicc@pm.me>
2019-11-16 12:49:20 +00:00
Florian Diebold
ee190388ab
Upgrade Chalk again
2019-11-16 13:25:54 +01:00
Florian Diebold
351c29d859
Fix handling of the binders in dyn/impl Trait
...
We need to be more careful now when substituting bound variables (previously, we
didn't have anything that used bound variables except Chalk, so it was not a
problem).
This is obviously quite ad-hoc; Chalk has more infrastructure for handling this
in a principled way, which we maybe should adopt.
2019-11-16 13:25:54 +01:00
Florian Diebold
9c2a9a9a06
Use Chalk's dyn/impl trait support
2019-11-16 13:11:29 +01:00
Florian Diebold
e21b82e035
Upgrade Chalk
...
Associated type values (in impls) are now a separate entity in Chalk, so we have
to intern separate IDs for them.
2019-11-16 13:11:29 +01:00
oxalica
b4fae56a25
Fix format
2019-11-16 18:52:47 +08:00