Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove visibility query, instead add struct field visibility to data | Florian Diebold | 2019-12-26 | 5 | -102/+35 |
| | | | | | Methods should be handled the same, and for items the visibility will be in the def map. | ||||
* | Rename ResolvedVisibility -> Visibility | Florian Diebold | 2019-12-26 | 8 | -67/+54 |
| | |||||
* | Rename Visibility -> RawVisibility | Florian Diebold | 2019-12-26 | 6 | -40/+40 |
| | |||||
* | Handle privacy for modules | Florian Diebold | 2019-12-26 | 3 | -11/+36 |
| | |||||
* | Check for `todo!` macros in no_todo | Florian Diebold | 2019-12-26 | 1 | -1/+1 |
| | |||||
* | Take visibility into account for glob imports | Florian Diebold | 2019-12-26 | 7 | -43/+165 |
| | |||||
* | Keep track of visibility during def collection | Florian Diebold | 2019-12-26 | 6 | -54/+120 |
| | |||||
* | Collect visibility of items during nameres | Florian Diebold | 2019-12-26 | 6 | -19/+63 |
| | |||||
* | Add doc comment | Florian Diebold | 2019-12-26 | 1 | -0/+2 |
| | |||||
* | Make enum variant fields public | Florian Diebold | 2019-12-26 | 1 | -2/+9 |
| | |||||
* | Hide completions for private struct fields | Florian Diebold | 2019-12-26 | 1 | -1/+56 |
| | |||||
* | Add visibility in code model for fields | Florian Diebold | 2019-12-26 | 2 | -3/+20 |
| | |||||
* | Add logic for resolving and checking visibility | Florian Diebold | 2019-12-26 | 2 | -1/+60 |
| | |||||
* | Add infrastructure for visibility on syntax and hir_def level | Florian Diebold | 2019-12-26 | 5 | -2/+163 |
| | |||||
* | Merge #2658 | bors[bot] | 2019-12-25 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 2658: Only add features flags if non-empty r=matklad a=edwin0cheng This prevent error when disabled `all-features` in a cargo workspace, because of `--features is not allowed in the root of a virtual workspace` when running `cargo metadata`. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Only add features flags if non-empty | Edwin Cheng | 2019-12-23 | 1 | -1/+1 |
| | | |||||
* | | Merge #2663 | bors[bot] | 2019-12-25 | 5 | -37/+151 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2663: Fill in type params in 'add missing impl members' assist r=flodiebold a=flodiebold Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | | Fill in type params in 'add missing impl members' assist | Florian Diebold | 2019-12-24 | 5 | -37/+151 |
| | | | |||||
* | | | Merge #2662 | bors[bot] | 2019-12-25 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2662: Notify that latest version of VS Code is required r=matklad a=spebern Suggested in #2660. Co-authored-by: bold <[email protected]> | ||||
| * | | | Notify that latest version of VS Code is required | bold | 2019-12-24 | 1 | -1/+1 |
| |/ / | |||||
* | | | Merge #2661 | bors[bot] | 2019-12-24 | 5 | -3/+110 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2661: Implement infer await from async function r=flodiebold a=edwin0cheng This PR is my attempt for trying to add support for infer `.await` expression from an `async` function, by desugaring its return type to `Impl Future<Output=RetType>`. Note that I don't know it is supposed to desugaring it in that phase, if it is not suitable in current design, just feel free to reject it :) r=@flodiebold Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | | Remove AsyncOwner | Edwin Cheng | 2019-12-24 | 5 | -13/+6 |
| | | | |||||
| * | | Check if parameters is empty | Edwin Cheng | 2019-12-24 | 1 | -4/+6 |
| | | | |||||
| * | | Add FIXME | Edwin Cheng | 2019-12-24 | 1 | -1/+5 |
| | | | |||||
| * | | Formatting | Edwin Cheng | 2019-12-24 | 2 | -3/+4 |
| | | | |||||
| * | | Implement infer await from async func | Edwin Cheng | 2019-12-24 | 7 | -5/+112 |
| |/ | |||||
* | | Merge #2659 | bors[bot] | 2019-12-23 | 1 | -9/+9 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2659: Update lsp-types and rayon r=kjeremy a=kjeremy Brings in https://github.com/gluon-lang/lsp-types/pull/129 for https://github.com/rust-analyzer/rust-analyzer/issues/2651#issuecomment-568554427 Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | | Update lsp-types and rayon | Jeremy Kolb | 2019-12-23 | 1 | -9/+9 |
|/ / | |||||
* | | Merge #2655 | bors[bot] | 2019-12-23 | 3 | -4/+12 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2655: lsp-types 0.67 r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | | lsp-types 0.67 | Jeremy Kolb | 2019-12-23 | 3 | -4/+12 |
|/ / | |||||
* | | Merge #2636 | bors[bot] | 2019-12-23 | 8 | -306/+354 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2636: Chalk update and refactoring r=flodiebold a=flodiebold This updates the Chalk integration to https://github.com/rust-lang/chalk/pull/311, which will presumably get merged soon, and refactors it some more, most notably introducing our own `TypeFamily` instead of reusing `ChalkIr`. It's still mostly the same as `ChalkIr` though, except for using Salsa `InternId`s directly. Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | | Filter out error predicates in type bounds as well | Florian Diebold | 2019-12-22 | 2 | -2/+29 |
| | | | |||||
| * | | Introduce our own Chalk TypeFamily, instead of using ChalkIr | Florian Diebold | 2019-12-22 | 4 | -87/+126 |
| | | | | | | | | | | | | | | | | | | It's not very different, except we can directly use Salsa IDs instead of casting them. This means we need to refactor the handling of errors to get rid of UNKNOWN_TRAIT though. | ||||
| * | | Refactor Chalk integration some more | Florian Diebold | 2019-12-22 | 2 | -79/+83 |
| | | | |||||
| * | | Update Chalk, clean up Chalk integration a bit | Florian Diebold | 2019-12-22 | 5 | -153/+131 |
| |/ | |||||
* | | Merge #2652 | bors[bot] | 2019-12-23 | 2 | -4/+4 |
|\ \ | |/ |/| | | | | | | | | | | | 2652: Bump lsp-types to 0.66.0 (fixes #2651) r=matklad a=udoprog Co-authored-by: John-John Tedro <[email protected]> | ||||
| * | Bump lsp-types to 0.66.0 (fixes #2651) | John-John Tedro | 2019-12-23 | 2 | -4/+4 |
|/ | |||||
* | Merge #2648 | bors[bot] | 2019-12-22 | 7 | -65/+163 |
|\ | | | | | | | | | | | | | | | 2648: Rudimentary name resolution for local items r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Rudimentary name resolution for local items | Aleksey Kladov | 2019-12-22 | 6 | -49/+145 |
| | | |||||
| * | Simplify | Aleksey Kladov | 2019-12-22 | 2 | -16/+17 |
| | | |||||
| * | Refactor | Aleksey Kladov | 2019-12-22 | 2 | -10/+11 |
|/ | |||||
* | Merge #2646 | bors[bot] | 2019-12-22 | 3 | -53/+56 |
|\ | | | | | | | | | | | | | | | 2646: Share impl Scope between modules and blocks r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Share impl Scope between modules and blocks | Aleksey Kladov | 2019-12-22 | 3 | -53/+56 |
| | | |||||
* | | Merge #2645 | bors[bot] | 2019-12-22 | 7 | -140/+108 |
|\| | | | | | | | | | | | | | | | 2645: Simplify r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Simplify | Aleksey Kladov | 2019-12-22 | 7 | -58/+41 |
| | | |||||
| * | Remove unused parameters | Aleksey Kladov | 2019-12-22 | 2 | -23/+13 |
| | | |||||
| * | Remove import field | Aleksey Kladov | 2019-12-22 | 2 | -19/+8 |
| | | |||||
| * | Separate defs from imports | Aleksey Kladov | 2019-12-22 | 2 | -5/+8 |
| | | |||||
| * | Refactor PerNs construction | Aleksey Kladov | 2019-12-22 | 2 | -49/+52 |
| | | |||||
| * | Minor rename | Aleksey Kladov | 2019-12-22 | 1 | -8/+8 |
|/ |