Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Replace with immutable map to avoid heavy cloning" | uHOOCCOOHu | 2019-09-08 | 3 | -9/+2 |
| | | | | | | This reverts commit 2c494eb803c88ef5d23607c3b156fce60c2b8076. See: https://github.com/rust-analyzer/rust-analyzer/pull/1784#issuecomment-529119924 | ||||
* | Replace with immutable map to avoid heavy cloning | uHOOCCOOHu | 2019-09-08 | 3 | -2/+9 |
| | |||||
* | Resolve textual scoped macros inside item | uHOOCCOOHu | 2019-09-08 | 4 | -9/+65 |
| | |||||
* | Support textual scoped macros | uHOOCCOOHu | 2019-09-08 | 4 | -34/+158 |
| | |||||
* | Minor typo fix for ra_assists code doc | Nelson Chen | 2019-09-08 | 1 | -1/+1 |
| | |||||
* | cleanup hir db imports | Aleksey Kladov | 2019-09-08 | 24 | -43/+65 |
| | |||||
* | don't cycle when processing macros from prelude in prelude | Aleksey Kladov | 2019-09-07 | 2 | -2/+33 |
| | |||||
* | Fix crash for super trait cycles | Florian Diebold | 2019-09-07 | 3 | -19/+39 |
| | |||||
* | Fix Chalk environments | Florian Diebold | 2019-09-07 | 2 | -3/+4 |
| | | | | | The clauses need to be wrapped in `FromEnv` clauses for elaboration (i.e. things like inferring `T: Clone` from `T: Copy`) to work correctly. | ||||
* | Use traits from where clauses for method resolution | Florian Diebold | 2019-09-07 | 4 | -21/+44 |
| | | | | | E.g. if we have `T: some::Trait`, we can call methods from that trait without it needing to be in scope. | ||||
* | Lower `Fn(X, Y) -> Z` paths | Florian Diebold | 2019-09-07 | 4 | -13/+55 |
| | |||||
* | Lower bounds on trait definition, and resolve assoc types from super traits | Florian Diebold | 2019-09-07 | 10 | -38/+101 |
| | |||||
* | Add some more tests | Florian Diebold | 2019-09-07 | 1 | -0/+205 |
| | |||||
* | simplify | Aleksey Kladov | 2019-09-06 | 1 | -38/+40 |
| | |||||
* | don't deadlock on shutdown | Aleksey Kladov | 2019-09-06 | 3 | -4/+4 |
| | | | | | | | Specifically, when we tear down IO threads, we should take care to dispose connection. closes #1775 | ||||
* | add option to disable notify | Aleksey Kladov | 2019-09-06 | 8 | -66/+134 |
| | |||||
* | Merge #1779 | bors[bot] | 2019-09-06 | 2 | -49/+51 |
|\ | | | | | | | | | | | | | | | 1779: minor r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | minor | Aleksey Kladov | 2019-09-06 | 2 | -49/+51 |
| | | |||||
* | | make source_root API more abstract | Aleksey Kladov | 2019-09-06 | 7 | -17/+31 |
|/ | |||||
* | Merge #1772 | bors[bot] | 2019-09-05 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 1772: switch to rustc_lexer crate r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | switch to rustc_lexer crate | Aleksey Kladov | 2019-09-05 | 1 | -1/+1 |
| | | |||||
* | | Merge #1771 | bors[bot] | 2019-09-05 | 3 | -18/+91 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | 1771: Further tweak for macro_use on extern crate r=matklad a=uHOOCCOOHu Some more tweaks to #1743 to behave more like `rustc` 1. Hoist macros from `#[macro_use] extern crate`, so that they can be used before `extern crate`. 2. Implicit `#[macro_use]` for `prelude` if exists Co-authored-by: uHOOCCOOHu <[email protected]> | ||||
| * | Hoist macros from extern crate with macro_use | uHOOCCOOHu | 2019-09-05 | 2 | -14/+20 |
| | | |||||
| * | Consider prelude to be `macro_use` | uHOOCCOOHu | 2019-09-05 | 3 | -4/+71 |
| | | |||||
* | | Merge #1770 | bors[bot] | 2019-09-05 | 5 | -184/+191 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1770: rename test file to match impl file r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | rename test file to match impl file | Aleksey Kladov | 2019-09-05 | 2 | -1/+1 |
| | | | |||||
| * | | move mod resolution to a separate file | Aleksey Kladov | 2019-09-05 | 3 | -183/+190 |
| | | | |||||
* | | | fix renaming of modules | Aleksey Kladov | 2019-09-05 | 3 | -80/+92 |
| | | | |||||
* | | | better error recovery for use trees | Aleksey Kladov | 2019-09-05 | 5 | -3/+65 |
|/ / | |||||
* | | Merge #1766 | bors[bot] | 2019-09-05 | 1 | -357/+357 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1766: always use \n newlines r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | always use \n newlines | Aleksey Kladov | 2019-09-05 | 1 | -357/+357 |
| | | | |||||
* | | | close #1763 | ivfranco | 2019-09-05 | 1 | -1/+1 |
| | | | |||||
* | | | Merge #1761 | bors[bot] | 2019-09-05 | 3 | -0/+167 |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | 1761: "move type bounds to where clause" assist r=matklad a=viorina Co-authored-by: Ekaterina Babshukova <[email protected]> | ||||
| * | | add assist to move type bounds to where clause | Ekaterina Babshukova | 2019-09-05 | 3 | -0/+167 |
| |/ | |||||
* | | Merge #1743 | bors[bot] | 2019-09-05 | 7 | -12/+119 |
|\ \ | |/ |/| | | | | | | | | | | | 1743: Support `#[macro_use]` on `extern crate` r=matklad a=uHOOCCOOHu Unfortunately, #1688 is still an issue. My guess is wrong :( Co-authored-by: uHOOCCOOHu <[email protected]> | ||||
| * | Fix typo | uHOOCCOOHu | 2019-09-05 | 1 | -2/+2 |
| | | |||||
| * | Let `macro_use` bypass module scope | uHOOCCOOHu | 2019-09-05 | 2 | -35/+52 |
| | | |||||
| * | Fix import strategy of `macro_use` and its test | uHOOCCOOHu | 2019-09-02 | 4 | -9/+26 |
| | | |||||
| * | Add test | uHOOCCOOHu | 2019-08-31 | 1 | -5/+50 |
| | | |||||
| * | Support resolution of `#[macro_use] extern crate` | uHOOCCOOHu | 2019-08-31 | 4 | -2/+30 |
| | | |||||
* | | lsp-types 0.61.0 | kjeremy | 2019-09-03 | 2 | -1/+2 |
| | | |||||
* | | Make type walking infrastructure a bit nicer | Florian Diebold | 2019-09-03 | 10 | -135/+134 |
| | | | | | | | | | | If/when we switch to using Chalk's Ty, we'll need to replace this by its `Fold` trait, but I didn't want to import the whole thing just yet. | ||||
* | | Properly format `impl Trait<Type = Foo>` types | Florian Diebold | 2019-09-03 | 2 | -23/+97 |
| | | | | | | | | | | | | It's a bit complicated because we basically have to 'undo' the desugaring, and the result is very dependent on the specifics of the desugaring and will probably produce weird results otherwise. | ||||
* | | Add support for associated type bindings (`where Trait<Type = X>`) | Florian Diebold | 2019-09-03 | 6 | -52/+183 |
| | | |||||
* | | Add test for assoc type bindings | Florian Diebold | 2019-09-03 | 1 | -0/+65 |
| | | |||||
* | | Correctly build BodySourceMap for macro-expanded expressions | Aleksey Kladov | 2019-09-03 | 8 | -70/+127 |
| | | |||||
* | | slightly simplify expr lowering flow | Aleksey Kladov | 2019-09-03 | 3 | -129/+136 |
| | | |||||
* | | clearer ignore | Aleksey Kladov | 2019-09-03 | 1 | -1/+1 |
| | | |||||
* | | remove needless refs | Aleksey Kladov | 2019-09-03 | 1 | -2/+2 |
| | | |||||
* | | use recrod terminology for hir::Pat | Aleksey Kladov | 2019-09-03 | 3 | -8/+7 |
| | |