rust/crates
bors[bot] d0ad30ad97
Merge #2501 #2502 #2503
2501: Fix coercion from &Foo to an inference variable in a reference r=matklad a=flodiebold

We didn't try to unify within the reference, but we should.

2502: Delay legacy macro expansion r=matklad a=edwin0cheng

This PR make the following changes:

* Delay legacy macro expansion such that we concentrated all item collecting macro expansion in one place.
* Add `MacroDirective` to replace 3-tuples 
* After this refactoring, no macro is expanded recursively, hence we can remove the `MacroStackMonitor` and we handle the expansion limit by the fix-point loop count. 

2503: Code: check whether the LSP binary is in PATH r=matklad a=lnicola

I'm not really sure about the TS changes. I just made a couple of functions async and it seems to work.

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2019-12-08 16:44:29 +00:00
..
ra_arena Switch to variant-granularity field type inference 2019-11-25 00:12:36 +03:00
ra_assists Get rid of unwraps in add_new 2019-12-07 11:54:26 +01:00
ra_batch rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
ra_cfg Disable doctests 2019-11-17 18:35:05 +03:00
ra_cli Remove ty from code_model 2019-12-08 12:44:14 +01:00
ra_db Run rustfmt with respect to Cargo.toml edition 2019-12-04 23:05:01 +01:00
ra_fmt fix 2190; add test for "replace if let with match" 2019-11-20 19:01:06 +01:00
ra_hir Remove dead code 2019-12-08 12:51:25 +01:00
ra_hir_def Merge #2501 #2502 #2503 2019-12-08 16:44:29 +00:00
ra_hir_expand Remove MacroFileKind 2019-12-08 16:16:52 +08:00
ra_hir_ty Fix coercion from &Foo to an inference variable in a reference 2019-12-08 13:06:59 +01:00
ra_ide Remove ty from code_model 2019-12-08 12:44:14 +01:00
ra_lsp_server Skip slow tests by default 2019-12-07 13:19:42 +01:00
ra_mbe Don't wrap most syntax trees in invisible delimiters when converting to token tree 2019-12-05 19:29:39 +01:00
ra_parser Fix hir for ast::UnionDef 2019-11-25 17:50:49 +03:00
ra_prof Disable doctests 2019-11-17 18:35:05 +03:00
ra_project_model Merge #2381 2019-11-24 15:59:47 +00:00
ra_syntax DynMap 2019-12-06 21:28:05 +01:00
ra_text_edit Disable doctests 2019-11-17 18:35:05 +03:00
ra_tt Derive Hash for TokenTrees 2019-11-28 13:41:58 +08:00
ra_vfs_glob Disable doctests 2019-11-17 18:35:05 +03:00
test_utils Skip slow tests by default 2019-12-07 13:19:42 +01:00