Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #2803 | bors[bot] | 2020-01-11 | 3 | -1/+100 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2803: Fix various names, e.g. Iterator not resolving in core prelude r=matklad a=flodiebold Basically, `Iterator` is re-exported via several steps, which happened to not be resolved yet when we got to the prelude import, but since the name resolved to the reexport from `core::iter` (just to no actual items), we gave up trying to resolve it further. Maybe part of the problem is that we can have `PartialResolvedImport::Unresolved` or `PartialResolvedImport::Indeterminate` with `None` in all namespaces, and handle them differently. Fixes #2683. Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Fix various names, e.g. Iterator not resolving in core prelude | Florian Diebold | 2020-01-11 | 3 | -1/+100 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Basically, `Iterator` is re-exported via several steps, which happened to not be resolved yet when we got to the prelude import, but since the name resolved to the reexport from `core::iter` (just to no actual items), we gave up trying to resolve it further. Maybe part of the problem is that we can have `PartialResolvedImport::Unresolved` or `PartialResolvedImport::Indeterminate` with `None` in all namespaces, and handle them differently. Fixes #2683. | ||||
* | | Use FxHashMap | Florian Diebold | 2020-01-11 | 2 | -3/+4 |
| | | |||||
* | | Apply review suggestions | Florian Diebold | 2020-01-11 | 9 | -47/+35 |
| | | |||||
* | | Fix ordering problem between qualifying paths and substituting params | Florian Diebold | 2020-01-11 | 7 | -126/+206 |
| | | |||||
* | | Some more refactoring | Florian Diebold | 2020-01-11 | 2 | -8/+16 |
| | | |||||
* | | Fix file ID when qualifying paths; add another failing test | Florian Diebold | 2020-01-11 | 1 | -3/+31 |
| | | |||||
* | | Handle type args | Florian Diebold | 2020-01-11 | 2 | -9/+19 |
| | | |||||
* | | More failing tests | Florian Diebold | 2020-01-11 | 1 | -1/+126 |
| | | |||||
* | | Qualify some paths in 'add missing impl members' | Florian Diebold | 2020-01-11 | 6 | -3/+128 |
| | | |||||
* | | Use `self` | Florian Diebold | 2020-01-11 | 1 | -0/+20 |
| | | |||||
* | | Cleanup | Florian Diebold | 2020-01-11 | 1 | -13/+25 |
| | | |||||
* | | Handle cycles | Florian Diebold | 2020-01-11 | 1 | -5/+54 |
| | | |||||
* | | Use query for importable locations | Florian Diebold | 2020-01-11 | 4 | -34/+77 |
| | | |||||
* | | Use super, don't use private imports | Florian Diebold | 2020-01-11 | 1 | -2/+48 |
| | | |||||
* | | Use shortest path | Florian Diebold | 2020-01-11 | 1 | -4/+19 |
| | | |||||
* | | handle most cases | Florian Diebold | 2020-01-11 | 2 | -11/+67 |
| | | |||||
* | | basics working | Florian Diebold | 2020-01-11 | 2 | -5/+117 |
| | | |||||
* | | more WIP | Florian Diebold | 2020-01-11 | 2 | -12/+122 |
| | | |||||
* | | find_path WIP | Florian Diebold | 2020-01-11 | 3 | -0/+58 |
| | | |||||
* | | Add test | Florian Diebold | 2020-01-11 | 1 | -0/+23 |
|/ | |||||
* | Merge #2791 | bors[bot] | 2020-01-11 | 4 | -4/+26 |
|\ | | | | | | | | | | | | | | | | | | | 2791: Slightly more robust cargo watcher root search r=kiljacken a=kiljacken Fixes #2780 (hopefully). Use the already painstakingly found `workspaces` instead of naively using `folder_roots` from editor. Co-authored-by: Emil Lauridsen <[email protected]> | ||||
| * | Clean up straggling mut | Emil Lauridsen | 2020-01-11 | 1 | -1/+1 |
| | | |||||
| * | Disable cargo checking in workspaces with no cargo projects | Emil Lauridsen | 2020-01-11 | 2 | -14/+20 |
| | | |||||
| * | Address nit | Emil Lauridsen | 2020-01-10 | 3 | -3/+7 |
| | | |||||
| * | Slightly more robust cargo watcher root search | Emil Lauridsen | 2020-01-10 | 2 | -4/+16 |
| | | |||||
* | | Merge #2795 | bors[bot] | 2020-01-11 | 1 | -2/+10 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2795: Use dummy value for macro file in bulitin macros r=matklad a=edwin0cheng This PR skip the actual line and column computation for `MacroFile` and return a dummy value instead. Related to #2794 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | | Use dummy value for macro file in bulitin macros | Edwin Cheng | 2020-01-11 | 1 | -2/+10 |
| | | | |||||
* | | | Merge #2790 | bors[bot] | 2020-01-11 | 2 | -1/+81 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 2790: Add test for macro expansion in various expressions r=edwin0cheng a=flodiebold cc @edwin0cheng Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | | Add test for macro expansion in various expressions | Florian Diebold | 2020-01-10 | 2 | -1/+81 |
| |/ | |||||
* | | Fix Write being sent down the wire. | kjeremy | 2020-01-10 | 1 | -3/+3 |
| | | | | | | | | Not sure what the deal is here but it wasn't sending Write. | ||||
* | | Add AccessMode to decls | kjeremy | 2020-01-10 | 1 | -8/+57 |
| | | |||||
* | | Split Declaration out into it's own type | kjeremy | 2020-01-10 | 2 | -49/+55 |
| | | |||||
* | | Simplify and update tests to account for access | kjeremy | 2020-01-10 | 1 | -48/+53 |
| | | |||||
* | | Tweaks | Jeremy Kolb | 2020-01-10 | 1 | -13/+35 |
| | | |||||
* | | Basic DocumentHighlightKind support for assignments | Jeremy Kolb | 2020-01-10 | 5 | -17/+107 |
|/ | |||||
* | Add missing expr cases for expand macro | Edwin Cheng | 2020-01-10 | 1 | -1/+23 |
| | |||||
* | Merge #2786 | bors[bot] | 2020-01-10 | 1 | -1/+19 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 2786: Proper handling local in hover r=flodiebold a=edwin0cheng This PR implement back the `Local` hover information generation, which is fall back to a general case catch previously : https://github.com/rust-analyzer/rust-analyzer/blob/9a44f627be0b3c49184e3ad594849f9b5ed78daa/crates/ra_ide/src/hover.rs#L173-L182 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Proper handling local in hover | Edwin Cheng | 2020-01-10 | 1 | -1/+19 |
| | | |||||
* | | Merge #2785 | bors[bot] | 2020-01-10 | 2 | -0/+18 |
|\ \ | |/ |/| | | | | | | | | | | | 2785: Expand PAREN_EXPR as expression r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Expand PAREN_EXPR as expression | Edwin Cheng | 2020-01-10 | 2 | -0/+18 |
| | | |||||
* | | Parse trait aliases | Emil Lauridsen | 2020-01-09 | 3 | -0/+141 |
| | | |||||
* | | Merge #2778 | bors[bot] | 2020-01-09 | 4 | -9/+7 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2778: :arrow_up: rowan r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | :arrow_up: rowan | Aleksey Kladov | 2020-01-09 | 4 | -9/+7 |
| | | | |||||
* | | | Merge pull request #2732 from detrumi/cargo-toml-not-found-message-toggle | Aleksey Kladov | 2020-01-09 | 3 | -19/+35 |
|\ \ \ | | | | | | | | | Flag to hide cargo.toml not found error | ||||
| * | | | Remove unneeded Box::new | Wilco Kusee | 2020-01-08 | 1 | -1/+1 |
| | | | | | | | | | | | | Co-Authored-By: Aleksey Kladov <[email protected]> | ||||
| * | | | Derive debug | Wilco Kusee | 2020-01-08 | 1 | -7/+1 |
| | | | | |||||
| * | | | Use downcasting for CargoTomlNotFoundError | Wilco Kusee | 2020-01-08 | 6 | -97/+48 |
| | | | | |||||
| * | | | Allow disabling Cargo.toml not found error | Wilco Kusee | 2020-01-03 | 3 | -19/+24 |
| | | | | |||||
| * | | | Move error to new file | Wilco Kusee | 2020-01-03 | 2 | -54/+61 |
| | | | |