Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make macro scope a real name scope | uHOOCCOOHu | 2019-09-09 | 1 | -93/+65 |
| | | | | Fix some details about module scoping | ||||
* | Rename `textual_macro` -> `legacy_macro` | uHOOCCOOHu | 2019-09-08 | 1 | -7/+20 |
| | | | | Add comments | ||||
* | Revert "Replace with immutable map to avoid heavy cloning" | uHOOCCOOHu | 2019-09-08 | 1 | -5/+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 | 1 | -2/+5 |
| | |||||
* | Resolve textual scoped macros inside item | uHOOCCOOHu | 2019-09-08 | 1 | -1/+6 |
| | |||||
* | Support textual scoped macros | uHOOCCOOHu | 2019-09-08 | 1 | -0/+5 |
| | |||||
* | cleanup hir db imports | Aleksey Kladov | 2019-09-08 | 1 | -4/+8 |
| | |||||
* | minor | Aleksey Kladov | 2019-09-06 | 1 | -48/+48 |
| | |||||
* | move mod resolution to a separate file | Aleksey Kladov | 2019-09-05 | 1 | -0/+1 |
| | |||||
* | Fix import strategy of `macro_use` and its test | uHOOCCOOHu | 2019-09-02 | 1 | -0/+3 |
| | |||||
* | cargo format | Muhammad Mominul Huque | 2019-07-07 | 1 | -2/+2 |
| | |||||
* | Constify KnownName's | Muhammad Mominul Huque | 2019-07-07 | 1 | -3/+3 |
| | |||||
* | Moved module resolution test in mods.rs | Alexander Andreev | 2019-07-07 | 1 | -1/+1 |
| | |||||
* | Added extract path attribute for current module | Alexander Andreev | 2019-07-06 | 1 | -1/+1 |
| | | | | #1211 | ||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -18/+14 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | make sure that CrateDefMap is independent from syntax | Aleksey Kladov | 2019-06-26 | 1 | -1/+3 |
| | |||||
* | check for cancellation when executing queries | Aleksey Kladov | 2019-06-12 | 1 | -1/+0 |
| | | | | | | | Note that we can't just remove CheckCanceled trait altogether: sometimes it's useful to check for cancellation while the query is running! We do this, for example, in the name resolution fixed-point loop. | ||||
* | use single version of either in hir | Aleksey Kladov | 2019-06-10 | 1 | -30/+28 |
| | |||||
* | remove some hacks from nameresolution for macros | Aleksey Kladov | 2019-06-08 | 1 | -27/+2 |
| | |||||
* | add a fixme | Aleksey Kladov | 2019-06-08 | 1 | -0/+2 |
| | |||||
* | Fix clippy::iter_cloned_collect | Alan Du | 2019-06-04 | 1 | -4/+2 |
| | |||||
* | Fix clippy::option_map_or_none | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | Fix clippy::or_fun_call | Alan Du | 2019-06-04 | 1 | -6/+11 |
| | |||||
* | Fix clippy::identity_conversion | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | add AstDatabase | Aleksey Kladov | 2019-06-02 | 1 | -5/+8 |
| | |||||
* | Improve goto definition for MBE | Edwin Cheng | 2019-06-01 | 1 | -2/+16 |
| | |||||
* | add built-in types to scopes | Aleksey Kladov | 2019-05-30 | 1 | -4/+15 |
| | |||||
* | add list of builtin types | Aleksey Kladov | 2019-05-30 | 1 | -1/+1 |
| | |||||
* | add cacellation checks to expensive queries | Aleksey Kladov | 2019-05-29 | 1 | -0/+1 |
| | |||||
* | Use ItemOrMacro in item resolution | Edwin Cheng | 2019-05-26 | 1 | -34/+81 |
| | |||||
* | simplify | Aleksey Kladov | 2019-05-12 | 1 | -2/+2 |
| | |||||
* | Added macro resolution and expansion | Lenard Pratt | 2019-04-22 | 1 | -0/+6 |
| | |||||
* | Add mbe expand limit and poision macro set | Edwin Cheng | 2019-04-22 | 1 | -1/+15 |
| | |||||
* | Initial support for lang items. | Marco Groppo | 2019-04-19 | 1 | -0/+4 |
| | |||||
* | use either for uses | Aleksey Kladov | 2019-04-10 | 1 | -1/+1 |
| | |||||
* | Merge #1068 | bors[bot] | 2019-04-03 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 1068: profiling crate first draft r=matklad a=pasa I've made this first draft for #961 Could you look at it? Is this something what you are looking for? It has lack of tests. I can't figure out how to test stderr output in rust right now. Do you have some clues? Additionally I'm thinking about to implement procedural macros to annotate methods with this profiler. Will it be helpful? Co-authored-by: Sergey Parilin <[email protected]> | ||||
| * | Merge remote-tracking branch 'upstream/master' into issue961_profiling | Sergey Parilin | 2019-04-02 | 1 | -48/+67 |
| |\ | |||||
| * | | PR issuse resolved | Sergey Parilin | 2019-04-02 | 1 | -2/+2 |
| | | | |||||
* | | | always produce source for import | Aleksey Kladov | 2019-04-02 | 1 | -2/+5 |
| |/ |/| | |||||
* | | add typed ids | Aleksey Kladov | 2019-03-26 | 1 | -10/+10 |
| | | |||||
* | | remove some dead code | Aleksey Kladov | 2019-03-26 | 1 | -17/+1 |
| | | |||||
* | | simplify | Aleksey Kladov | 2019-03-26 | 1 | -4/+2 |
| | | |||||
* | | move source_id to a separate file | Aleksey Kladov | 2019-03-26 | 1 | -1/+2 |
| | | |||||
* | | store macro def inside macro id | Aleksey Kladov | 2019-03-26 | 1 | -9/+2 |
| | | | | | | | | | | | | | | | | This solves the problem of "macro expansion can't call into name resolution, because name resolution calls back into macro expansion" Because we store macro def as a part of call id, macro expansion just knows the def! | ||||
* | | Basics for trait method resolution | Florian Diebold | 2019-03-25 | 1 | -1/+7 |
| | | |||||
* | | fixes | Aleksey Kladov | 2019-03-25 | 1 | -1/+1 |
| | | |||||
* | | check impls as well | Aleksey Kladov | 2019-03-25 | 1 | -1/+1 |
| | | |||||
* | | cleanup | Aleksey Kladov | 2019-03-25 | 1 | -25/+41 |
| | | |||||
* | | switch modules to new diagnostics | Aleksey Kladov | 2019-03-25 | 1 | -22/+43 |
|/ | |||||
* | rename persistent hir database -> def database | Aleksey Kladov | 2019-03-23 | 1 | -9/+6 |
| |