Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor incremental tests cleanup | Aleksey Kladov | 2020-03-26 | 1 | -8/+8 |
| | |||||
* | Cleanup memory usage stats | Aleksey Kladov | 2020-03-25 | 1 | -6/+1 |
| | |||||
* | fix typo of visibility_of | Edwin Cheng | 2020-03-25 | 1 | -1/+1 |
| | |||||
* | Remove collect proc_macro definitions | Edwin Cheng | 2020-03-25 | 1 | -23/+23 |
| | |||||
* | Rename to CustomDerive | Edwin Cheng | 2020-03-25 | 1 | -1/+1 |
| | |||||
* | Refactoring a bit | Edwin Cheng | 2020-03-25 | 1 | -2/+5 |
| | |||||
* | Add basic custom derive lowering | Edwin Cheng | 2020-03-25 | 2 | -8/+57 |
| | |||||
* | Add ItemScope::visibility_of | Edwin Cheng | 2020-03-24 | 1 | -0/+6 |
| | |||||
* | Merge #3684 | bors[bot] | 2020-03-22 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 3684: ra_hir_def: fix typo r=edwin0cheng a=Veetaha Co-authored-by: veetaha <[email protected]> | ||||
| * | ra_hir_def: fix typo | veetaha | 2020-03-22 | 1 | -1/+1 |
| | | |||||
* | | Add support for macro in symbo_index | Edwin Cheng | 2020-03-22 | 1 | -11/+1 |
| | | |||||
* | | Add recursive limit in expression macro expansion | Edwin Cheng | 2020-03-21 | 1 | -1/+8 |
|/ | |||||
* | Simplify Arena to use a generic index | Aleksey Kladov | 2020-03-19 | 12 | -112/+85 |
| | |||||
* | ra_hir_def: remove dat fixme | veetaha | 2020-03-18 | 1 | -1/+0 |
| | |||||
* | Check that no file contains trailing ws | Aleksey Kladov | 2020-03-17 | 4 | -107/+107 |
| | | | | rustfmt allows trailing spaces in string literals unfortunately. | ||||
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 22 | -177/+185 |
| | | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate). | ||||
* | Use Display instead of a custom method | Kirill Bulatov | 2020-03-16 | 1 | -1/+1 |
| | |||||
* | Fix crate display name dashes | Kirill Bulatov | 2020-03-16 | 1 | -2/+7 |
| | |||||
* | Merge #3591 | bors[bot] | 2020-03-15 | 4 | -16/+61 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 3591: Support local macro_rules r=matklad a=edwin0cheng This PR implement local `macro_rules` in function body, by adding following things: 1. While lowering, add a `MacroDefId` in body's `ItemScope` as a textual legacy macro. 2. Make `Expander::enter_expand` search with given `ItemScope`. 3. Make `Resolver::resolve_path_as_macro` search with `LocalItemScope`. Fix #2181 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Support local macro_rules | Edwin Cheng | 2020-03-14 | 4 | -16/+61 |
| | | |||||
* | | Fix completion of trait items | Florian Diebold | 2020-03-14 | 2 | -11/+48 |
|/ | | | | Trait items should be public by default. | ||||
* | Protect against infinite macro expansion in def collector | Florian Diebold | 2020-03-13 | 1 | -9/+39 |
| | | | | | | | | | There was a test for this, but it wasn't actually working because the first recursive expansion failed. (The comma...) Even with this limit, that test (when fixed) still takes some time to pass because of the exponential growth of the expansions, so I disabled it and added a different one without growth. | ||||
* | fix issue 3444 | Josh Mcguigan | 2020-03-13 | 1 | -0/+22 |
| | |||||
* | Add resolve_extern_path in DB | Edwin Cheng | 2020-03-10 | 1 | -1/+9 |
| | |||||
* | Updates insta to 0.15.0 and bumps console to 0.10.0 | kjeremy | 2020-03-09 | 1 | -1/+1 |
| | |||||
* | Print crate name in profil | Aleksey Kladov | 2020-03-09 | 1 | -1/+2 |
| | |||||
* | Minimize API | Aleksey Kladov | 2020-03-09 | 1 | -1/+1 |
| | |||||
* | Use `Index` for CrateGraph | Aleksey Kladov | 2020-03-09 | 4 | -7/+6 |
| | |||||
* | Merge #3519 | bors[bot] | 2020-03-09 | 4 | -8/+8 |
|\ | | | | | | | | | | | | | | | 3519: Show mod path on hover r=matklad a=SomeoneToIgnore Closes #1064 Co-authored-by: Kirill Bulatov <[email protected]> | ||||
| * | Less abstract CrateData api | Kirill Bulatov | 2020-03-09 | 4 | -8/+8 |
| | | |||||
* | | Handle visibility for assoc item path completion as well | Florian Diebold | 2020-03-08 | 1 | -12/+19 |
| | | |||||
* | | Handle visibility in method call completion | Florian Diebold | 2020-03-07 | 1 | -3/+9 |
|/ | |||||
* | Normalize waiting queries names | Aleksey Kladov | 2020-03-06 | 2 | -13/+8 |
| | |||||
* | Less confusing profile names | Aleksey Kladov | 2020-03-06 | 2 | -2/+2 |
| | |||||
* | Explicitly remember desugard pats | Aleksey Kladov | 2020-03-06 | 2 | -6/+10 |
| | |||||
* | Explicitly remember desugard exprs | Aleksey Kladov | 2020-03-06 | 2 | -18/+19 |
| | |||||
* | Source map returns a result | Aleksey Kladov | 2020-03-06 | 1 | -4/+7 |
| | | | | cc #2236 | ||||
* | Add profiling calls | Aleksey Kladov | 2020-03-05 | 2 | -0/+4 |
| | |||||
* | Implement concat macro | Edwin Cheng | 2020-03-03 | 1 | -5/+18 |
| | |||||
* | Reformat? | Aleksey Kladov | 2020-03-02 | 1 | -5/+1 |
| | |||||
* | Merge #3384 | bors[bot] | 2020-03-01 | 3 | -6/+49 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 3384: fix #2377 super::super::* r=flodiebold a=JoshMcguigan Thanks @matklad for the detailed explanation on #2377. I believe this fixes it. One thing I'm not sure about is you said the fix would involve changing `crates/ra_hir_def/src/path/lower/lower.rs`, but I only changed `crates/ra_hir_def/src/path/lower/lower_use.rs`. I'm not sure what kind of test code I'd have to write to expose the issue in `lower.rs`, but I'd be happy to add it if you are able to provide additional guidance. closes #2377 Co-authored-by: Josh Mcguigan <[email protected]> | ||||
| * | fix completion for super::super:: | Josh Mcguigan | 2020-03-01 | 1 | -2/+6 |
| | | |||||
| * | fix #2377 super::super::* | Josh Mcguigan | 2020-03-01 | 2 | -4/+43 |
| | | |||||
* | | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 7 | -24/+24 |
|/ | |||||
* | Remove unused dependencies | Shotaro Yamada | 2020-02-27 | 1 | -1/+0 |
| | |||||
* | Merge #3260 | bors[bot] | 2020-02-22 | 3 | -61/+48 |
|\ | | | | | | | | | | | | | | | 3260: Refactor how builtins are resolved r=matklad a=flodiebold This fixes autocompletion suggesting e.g. `self::usize`. (I thought we had a bug for that, but I didn't find it.) Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Refactor how builtins are resolved | Florian Diebold | 2020-02-21 | 3 | -61/+48 |
| | | | | | | | | This fixes autocompletion suggesting e.g. self::usize. | ||||
* | | Fix handling of const patterns | Florian Diebold | 2020-02-21 | 3 | -4/+37 |
|/ | | | | | | | | | E.g. in `match x { None => ... }`, `None` is a path pattern (resolving to the option variant), not a binding. To determine this, we need to try to resolve the name during lowering. This isn't too hard since we already need to resolve names for macro expansion anyway (though maybe a bit hacky). Fixes #1618. | ||||
* | Update versions | Kirill Bulatov | 2020-02-18 | 1 | -6/+6 |
| | |||||
* | More manual clippy fixes | Kirill Bulatov | 2020-02-18 | 2 | -3/+3 |
| |