Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Don't allocate empty generics | Jonas Schievink | 2020-06-24 | 4 | -40/+78 | |
| | | | ||||||
* | | | Don't allocate common visibilities | Jonas Schievink | 2020-06-24 | 5 | -75/+142 | |
| | | | ||||||
* | | | Remove file id from item tree | Jonas Schievink | 2020-06-24 | 4 | -34/+28 | |
| | | | | | | | | | | | | It's not needed, and `source` is only used by tests anyways | |||||
* | | | Slightly reduce ItemTree memory footprint | Jonas Schievink | 2020-06-24 | 3 | -53/+68 | |
| | | | ||||||
* | | | Merge item tree traits | Jonas Schievink | 2020-06-24 | 3 | -21/+16 | |
| | | | | | | | | | | | | | | | The Source trait isn't needed anymore since we no longer merge extern crate items with use items. | |||||
* | | | Generate ModItem via macro | Jonas Schievink | 2020-06-24 | 1 | -105/+60 | |
| | | | ||||||
* | | | Address more comments | Jonas Schievink | 2020-06-24 | 2 | -5/+4 | |
| | | | ||||||
* | | | if let else -> match | Jonas Schievink | 2020-06-24 | 1 | -19/+21 | |
| | | | ||||||
* | | | Unify and test attribute handling | Jonas Schievink | 2020-06-24 | 5 | -33/+227 | |
| | | | ||||||
* | | | Collect inner items in expression macros | Jonas Schievink | 2020-06-24 | 4 | -14/+44 | |
| | | | ||||||
* | | | Measure ItemTree query memory usage | Jonas Schievink | 2020-06-24 | 2 | -2/+3 | |
| | | | ||||||
* | | | Make generics and attr queries use ItemTree | Jonas Schievink | 2020-06-24 | 5 | -21/+79 | |
| | | | | | | | | | | | | Now it's fast | |||||
* | | | Record HirFileId's in profiler | Jonas Schievink | 2020-06-24 | 2 | -2/+2 | |
| | | | ||||||
* | | | Make remaining item data queries use item tree | Jonas Schievink | 2020-06-24 | 5 | -152/+90 | |
| | | | ||||||
* | | | draw the rest of the owl | Jonas Schievink | 2020-06-24 | 13 | -409/+953 | |
| | | | ||||||
* | | | ItemTree: Make clonable and add AST access | Jonas Schievink | 2020-06-24 | 1 | -15/+69 | |
| | | | ||||||
* | | | Lower generics | Jonas Schievink | 2020-06-24 | 3 | -26/+83 | |
| | | | ||||||
* | | | ItemTree: use a newtyped ID | Jonas Schievink | 2020-06-24 | 3 | -53/+130 | |
| | | | ||||||
* | | | Move ItemTree lowering into its own module | Jonas Schievink | 2020-06-24 | 2 | -505/+513 | |
| | | | ||||||
* | | | Remove now-broken incremental test | Jonas Schievink | 2020-06-24 | 1 | -38/+0 | |
| | | | | | | | | | | | | | | | The ItemTree tracks impl and trait items, so the CrateDefMap now needs recomputing when those change | |||||
* | | | Remove raw item query | Jonas Schievink | 2020-06-24 | 5 | -491/+3 | |
| | | | ||||||
* | | | Fix test | Jonas Schievink | 2020-06-24 | 2 | -3/+10 | |
| | | | ||||||
* | | | Move collector | Jonas Schievink | 2020-06-24 | 1 | -108/+193 | |
| | | | ||||||
* | | | Draw the rest of the owl | Jonas Schievink | 2020-06-24 | 1 | -27/+108 | |
| | | | ||||||
* | | | collector changes WIP | Jonas Schievink | 2020-06-24 | 3 | -29/+34 | |
| | | | ||||||
* | | | lower traits | Jonas Schievink | 2020-06-24 | 2 | -29/+207 | |
| | | | ||||||
* | | | Hook up query, add impls, lower moar | Jonas Schievink | 2020-06-24 | 3 | -41/+128 | |
| | | | ||||||
* | | | Start item tree | Aleksey Kladov | 2020-06-24 | 3 | -3/+517 | |
|/ / | ||||||
* | | Cleanup project.json deserialization | Aleksey Kladov | 2020-06-24 | 13 | -141/+135 | |
| | | ||||||
* | | Rename json_project -> project_json | Aleksey Kladov | 2020-06-24 | 3 | -14/+14 | |
| | | ||||||
| | | ||||||
| \ | ||||||
| \ | ||||||
| \ | ||||||
*---. \ | Merge #5015 #5027 #5028 | bors[bot] | 2020-06-24 | 4 | -14/+85 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5015: Account for updated module ids when determining whether a resolution is changed r=matklad a=Nashenas88 Fixes #4943 5027: Make Debug less verbose for VfsPath and use Display in analysis-stats r=matklad a=lnicola 5028: Remove namedExports config r=matklad a=lnicola Fixes a warning: ``` (!) Plugin commonjs: The namedExports option from "@rollup/plugin-commonjs" is deprecated. Named exports are now handled automatically. ``` Co-authored-by: Paul Daniel Faria <[email protected]> Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| | * | | | Make Debug less verbose for VfsPath and use Display in analysis-stats | Laurențiu Nicola | 2020-06-24 | 2 | -3/+18 | |
| | |/ / | ||||||
| * | | | Fix formatting issue with glob shadow test | Paul Daniel Faria | 2020-06-24 | 1 | -17/+17 | |
| | | | | ||||||
| * | | | Use a macro in push_res to simplify code, simplify glob_shadowed_def assertion | Paul Daniel Faria | 2020-06-24 | 2 | -160/+47 | |
| | | | | ||||||
| * | | | Account for updated module ids when determining whether a resolution is ↵ | Paul Daniel Faria | 2020-06-24 | 2 | -9/+178 | |
| | | | | | | | | | | | | | | | | "changed" | |||||
* | | | | Be more explicit about absolute paths at various places | Aleksey Kladov | 2020-06-24 | 10 | -94/+125 | |
| |/ / |/| | | ||||||
* | | | Merge #5023 | bors[bot] | 2020-06-24 | 2 | -13/+77 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5023: Fix string literal inference in match r=flodiebold a=lnicola Fixes #5020 r? @flodiebold Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | | | Fix string literal inference in match | Laurențiu Nicola | 2020-06-24 | 2 | -13/+77 | |
| | | | | ||||||
| | | | | ||||||
| \ \ \ | ||||||
*-. \ \ \ | Merge #5024 #5026 | bors[bot] | 2020-06-24 | 5 | -117/+65 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5024: Simplify r=matklad a=matklad bors r+ 🤖 5026: Disable file watching when running slow tests r=matklad a=matklad This should rid us of the intermittent test failure https://github.com/rust-analyzer/rust-analyzer/pull/5017#issuecomment-648717983 bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| | * | | | | Disable file watching when running slow tests | Aleksey Kladov | 2020-06-24 | 1 | -4/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should rid us of the intermittent test failure https://github.com/rust-analyzer/rust-analyzer/pull/5017#issuecomment-648717983 | |||||
| * | | | | | Simplify | Aleksey Kladov | 2020-06-24 | 2 | -67/+18 | |
| | | | | | | ||||||
| * | | | | | Simplify | Aleksey Kladov | 2020-06-24 | 4 | -47/+38 | |
|/ / / / / | ||||||
* | | | | | Simplify | Aleksey Kladov | 2020-06-24 | 1 | -6/+3 | |
| | | | | | ||||||
* | | | | | Simplify | Aleksey Kladov | 2020-06-24 | 2 | -14/+3 | |
| | | | | | ||||||
* | | | | | Simplify | Aleksey Kladov | 2020-06-24 | 1 | -10/+6 | |
| |/ / / |/| | | | ||||||
* | | | | Remove duplication | Aleksey Kladov | 2020-06-24 | 8 | -41/+34 | |
| | | | | ||||||
* | | | | More consistent usage of fixtures | Aleksey Kladov | 2020-06-24 | 16 | -1061/+1070 | |
| | | | | ||||||
* | | | | Use fixtures more | Aleksey Kladov | 2020-06-24 | 6 | -133/+135 | |
| | | | | ||||||
* | | | | Simplify | Aleksey Kladov | 2020-06-24 | 2 | -27/+21 | |
|/ / / | ||||||
* | | | Merge #4940 | bors[bot] | 2020-06-24 | 12 | -39/+92 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4940: Add support for marking doctest items as distinct from normal code r=ltentrup a=Nashenas88 This adds `HighlightTag::Generic | HighlightModifier::Injected` as the default highlight for all elements within a doctest. Please feel free to suggest that a new tag be created or a different one used. ![Screenshot from 2020-06-23 09-18-13](https://user-images.githubusercontent.com/1673130/85408493-9752ce00-b532-11ea-94fe-197353ccc778.png) Fixes #4929 Fixes #4939 Co-authored-by: Paul Daniel Faria <[email protected]> Co-authored-by: Paul Daniel Faria <[email protected]> |