Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | Check ancestor maps when computing traits in scope | Jonas Schievink | 2021-03-09 | 2 | -0/+43 | |
| | | | | | | ||||||
| * | | | | | Remove `item_scope` field from `Body` | Jonas Schievink | 2021-03-09 | 3 | -175/+6 | |
| | | | | | | ||||||
| * | | | | | Use `body.block_scopes` in `hir_ty` tests | Jonas Schievink | 2021-03-09 | 1 | -6/+14 | |
| | | | | | | ||||||
| * | | | | | Use `body.block_scopes` to validate inner items | Jonas Schievink | 2021-03-09 | 1 | -3/+8 | |
| | | | | | | ||||||
| * | | | | | Use `body.block_scopes` in `ChildBySource` | Jonas Schievink | 2021-03-09 | 1 | -1/+5 | |
| | | | | | | ||||||
| * | | | | | Store inner `BlockId`s in `Body` | Jonas Schievink | 2021-03-09 | 2 | -1/+6 | |
| | | | | | | ||||||
| * | | | | | Change `ChildBySource` to allow reusing `DynMap` | Jonas Schievink | 2021-03-09 | 2 | -32/+18 | |
| | | | | | | ||||||
* | | | | | | Merge #7945 | bors[bot] | 2021-03-09 | 4 | -72/+96 | |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7945: Future proof completion scores r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | | Future proof completion scores | Aleksey Kladov | 2021-03-09 | 4 | -72/+96 | |
| | | | | | | ||||||
* | | | | | | Merge #7942 | bors[bot] | 2021-03-09 | 4 | -33/+48 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7942: Show whether a binding is mutable or not on hover r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | | | | | Show whether a binding is mutable or not on hover | Lukas Wirth | 2021-03-09 | 3 | -28/+47 | |
| | | | | | | | ||||||
| * | | | | | | Don't show const items initializer expressions on hover | Lukas Wirth | 2021-03-09 | 1 | -5/+1 | |
| | | | | | | | ||||||
* | | | | | | | Merge #7944 | bors[bot] | 2021-03-09 | 4 | -45/+103 | |
|\ \ \ \ \ \ \ | |/ / / / / / |/| / / / / / | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7944: Selecting `&mut foo` completion now actually inserts `&mut` r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | | Selecting `&mut foo` completion now actually inserts `&mut` | Aleksey Kladov | 2021-03-09 | 1 | -15/+16 | |
| | | | | | | ||||||
| * | | | | | Cleanup auto-ref in completion | Aleksey Kladov | 2021-03-09 | 4 | -30/+87 | |
| | | | | | | ||||||
* | | | | | | Merge #7941 | bors[bot] | 2021-03-09 | 1 | -14/+7 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7941: Fix unused definitions not being document highlit r=Veykril a=Veykril Fixes #7939 bors r+ Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | | | | | Fix unused definitions not being document highlit | Lukas Wirth | 2021-03-09 | 1 | -14/+7 | |
| | | | | | | | ||||||
* | | | | | | | Merge #7940 | bors[bot] | 2021-03-09 | 3 | -38/+37 | |
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | / / / | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7940: Cleanup r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | | Cleanup | Aleksey Kladov | 2021-03-09 | 1 | -4/+4 | |
| | | | | | | ||||||
| * | | | | | Cleanup | Aleksey Kladov | 2021-03-09 | 2 | -8/+7 | |
| | | | | | | ||||||
| * | | | | | Fix bad names | Aleksey Kladov | 2021-03-09 | 1 | -26/+26 | |
|/ / / / / | | | | | | | | | | | | | | | | `res` should only be used for the result variable | |||||
| | | | | | ||||||
| \ \ \ \ | ||||||
*-. \ \ \ \ | Merge #7873 #7933 | bors[bot] | 2021-03-09 | 18 | -380/+847 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7873: Consider unresolved qualifiers during flyimport r=matklad a=SomeoneToIgnore Closes https://github.com/rust-analyzer/rust-analyzer/issues/7679 Takes unresolved qualifiers into account, providing better completions (or none, if the path is resolved or do not match). Does not handle cases when both path qualifier and some trait has to be imported: there are many extra issues with those (such as overlapping imports, for instance) that will require large diffs to address. Also does not do a fuzzy search on qualifier, that requires some adjustments in `import_map` for better queries and changes to the default replace range which also seems relatively big to include here. ![qualifier_completion](https://user-images.githubusercontent.com/2690773/110040808-0af8dc00-7d4c-11eb-83db-65af94e843bb.gif) 7933: Improve compilation speed r=matklad a=matklad bors r+ 🤖 Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| | * | | | | | Improve compilation speed | Aleksey Kladov | 2021-03-09 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | Better strip turbofishes | Kirill Bulatov | 2021-03-08 | 5 | -8/+52 | |
| | | | | | | | ||||||
| * | | | | | | Add rustdocs and use better names | Kirill Bulatov | 2021-03-08 | 3 | -40/+64 | |
| | | | | | | | ||||||
| * | | | | | | Less lifetines: derive SemanticsScope in place | Kirill Bulatov | 2021-03-08 | 7 | -50/+49 | |
| | | | | | | | ||||||
| * | | | | | | Rebase leftovers | Kirill Bulatov | 2021-03-08 | 1 | -5/+2 | |
| | | | | | | | ||||||
| * | | | | | | Cleanup | Kirill Bulatov | 2021-03-08 | 1 | -6/+0 | |
| | | | | | | | ||||||
| * | | | | | | Restrict fuzzy qualifiers for now | Kirill Bulatov | 2021-03-08 | 3 | -47/+26 | |
| | | | | | | | ||||||
| * | | | | | | Test for fuzzy unresolved path maatch | Kirill Bulatov | 2021-03-08 | 1 | -0/+22 | |
| | | | | | | | ||||||
| * | | | | | | Enforce the located imports' order | Kirill Bulatov | 2021-03-08 | 3 | -8/+7 | |
| | | | | | | | ||||||
| * | | | | | | Fix the completion labels and tests | Kirill Bulatov | 2021-03-08 | 4 | -65/+116 | |
| | | | | | | | ||||||
| * | | | | | | Work towards better import labels | Kirill Bulatov | 2021-03-08 | 13 | -239/+243 | |
| | | | | | | | ||||||
| * | | | | | | Profile import_assets better | Kirill Bulatov | 2021-03-08 | 1 | -0/+5 | |
| | | | | | | | ||||||
| * | | | | | | Update the docs | Kirill Bulatov | 2021-03-08 | 1 | -0/+39 | |
| | | | | | | | ||||||
| * | | | | | | Simplify | Kirill Bulatov | 2021-03-08 | 2 | -38/+23 | |
| | | | | | | | ||||||
| * | | | | | | Refactor the import location | Kirill Bulatov | 2021-03-08 | 3 | -162/+126 | |
| | | | | | | | ||||||
| * | | | | | | Do not propose already imported imports | Kirill Bulatov | 2021-03-08 | 4 | -27/+45 | |
| | | | | | | | ||||||
| * | | | | | | Properly handle turbofishes in qualifiers | Kirill Bulatov | 2021-03-08 | 5 | -8/+14 | |
| | | | | | | | ||||||
| * | | | | | | Fix some tests | Kirill Bulatov | 2021-03-08 | 4 | -49/+143 | |
| | | | | | | | ||||||
| * | | | | | | Return more data about located imports | Kirill Bulatov | 2021-03-08 | 9 | -125/+172 | |
| | | | | | | | ||||||
| * | | | | | | Draft the qualifier import resolution | Kirill Bulatov | 2021-03-08 | 4 | -43/+224 | |
| | | | | | | | ||||||
| * | | | | | | Filter out path items by the qualifier | Kirill Bulatov | 2021-03-08 | 1 | -24/+15 | |
| | | | | | | | ||||||
| * | | | | | | Simplify | Kirill Bulatov | 2021-03-08 | 1 | -64/+37 | |
| | | | | | | | ||||||
| * | | | | | | Find the code to change | Kirill Bulatov | 2021-03-08 | 1 | -55/+130 | |
| | | | | | | | ||||||
| * | | | | | | Test and initial refactoring | Kirill Bulatov | 2021-03-08 | 4 | -125/+101 | |
| | | | | | | | ||||||
* | | | | | | | Merge #7932 | bors[bot] | 2021-03-09 | 3 | -98/+310 | |
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7932: Make code less surprising r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | | | Make code less surprising | Aleksey Kladov | 2021-03-09 | 3 | -98/+310 | |
|/ / / / / / | | | | | | | | | | | | | | | | | | | Theres no reason to have literal `\n\n` in the source code | |||||
* | | | | | | Merge #7931 | bors[bot] | 2021-03-09 | 1 | -26/+14 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7931: Use `Type::new_with_resolver_inner` more r=jonas-schievink a=jonas-schievink bors r+ Co-authored-by: Jonas Schievink <[email protected]> | |||||
| * | | | | | | Use `Type::new_with_resolver_inner` more | Jonas Schievink | 2021-03-09 | 1 | -26/+14 | |
| | | | | | | |