diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-08 16:44:29 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-08 16:44:29 +0000 |
commit | d0ad30ad976f09367da931de22a762019de25073 (patch) | |
tree | 03f0b913b6fdeda01ee41f782df35c24a6591f08 /crates/ra_parser/src/token_set.rs | |
parent | d27b03388326c91c7fb242e64bcc6037bb9140fe (diff) | |
parent | d0c9bb0abf764a3143fc0d13297d73184bc10397 (diff) | |
parent | 3a95d01d0cbc5ac2d789b3c70f4472a609fc5af4 (diff) | |
parent | 78e8934976fa3135c151d2b6b395ce57e832f90e (diff) |
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 <[email protected]>
Co-authored-by: Edwin Cheng <[email protected]>
Co-authored-by: Laurențiu Nicola <[email protected]>