aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | More failing testsFlorian Diebold2020-01-111-1/+126
| |
* | Qualify some paths in 'add missing impl members'Florian Diebold2020-01-116-3/+128
| |
* | Use `self`Florian Diebold2020-01-111-0/+20
| |
* | CleanupFlorian Diebold2020-01-111-13/+25
| |
* | Handle cyclesFlorian Diebold2020-01-111-5/+54
| |
* | Use query for importable locationsFlorian Diebold2020-01-114-34/+77
| |
* | Use super, don't use private importsFlorian Diebold2020-01-111-2/+48
| |
* | Use shortest pathFlorian Diebold2020-01-111-4/+19
| |
* | handle most casesFlorian Diebold2020-01-112-11/+67
| |
* | basics workingFlorian Diebold2020-01-112-5/+117
| |
* | more WIPFlorian Diebold2020-01-112-12/+122
| |
* | find_path WIPFlorian Diebold2020-01-113-0/+58
| |
* | Add testFlorian Diebold2020-01-111-0/+23
|/
* Merge #2791bors[bot]2020-01-114-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 mutEmil Lauridsen2020-01-111-1/+1
| |
| * Disable cargo checking in workspaces with no cargo projectsEmil Lauridsen2020-01-112-14/+20
| |
| * Address nitEmil Lauridsen2020-01-103-3/+7
| |
| * Slightly more robust cargo watcher root searchEmil Lauridsen2020-01-102-4/+16
| |
* | Merge #2795bors[bot]2020-01-111-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 macrosEdwin Cheng2020-01-111-2/+10
| | |
* | | Merge #2790bors[bot]2020-01-112-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 expressionsFlorian Diebold2020-01-102-1/+81
| |/
* | Fix Write being sent down the wire.kjeremy2020-01-101-3/+3
| | | | | | | | Not sure what the deal is here but it wasn't sending Write.
* | Add AccessMode to declskjeremy2020-01-101-8/+57
| |
* | Split Declaration out into it's own typekjeremy2020-01-102-49/+55
| |
* | Simplify and update tests to account for accesskjeremy2020-01-101-48/+53
| |
* | TweaksJeremy Kolb2020-01-101-13/+35
| |
* | Basic DocumentHighlightKind support for assignmentsJeremy Kolb2020-01-105-17/+107
|/
* Add missing expr cases for expand macroEdwin Cheng2020-01-101-1/+23
|
* Merge #2786bors[bot]2020-01-101-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 hoverEdwin Cheng2020-01-101-1/+19
| |
* | Merge #2785bors[bot]2020-01-102-0/+18
|\ \ | |/ |/| | | | | | | | | | | 2785: Expand PAREN_EXPR as expression r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]>
| * Expand PAREN_EXPR as expressionEdwin Cheng2020-01-102-0/+18
| |
* | Parse trait aliasesEmil Lauridsen2020-01-093-0/+141
| |
* | Merge #2778bors[bot]2020-01-094-9/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | 2778: :arrow_up: rowan r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | :arrow_up: rowanAleksey Kladov2020-01-094-9/+7
| | |
* | | Merge pull request #2732 from detrumi/cargo-toml-not-found-message-toggleAleksey Kladov2020-01-093-19/+35
|\ \ \ | | | | | | | | Flag to hide cargo.toml not found error
| * | | Remove unneeded Box::newWilco Kusee2020-01-081-1/+1
| | | | | | | | | | | | Co-Authored-By: Aleksey Kladov <[email protected]>
| * | | Derive debugWilco Kusee2020-01-081-7/+1
| | | |
| * | | Use downcasting for CargoTomlNotFoundErrorWilco Kusee2020-01-086-97/+48
| | | |
| * | | Allow disabling Cargo.toml not found errorWilco Kusee2020-01-033-19/+24
| | | |
| * | | Move error to new fileWilco Kusee2020-01-032-54/+61
| | | |
| * | | Split errors into WorkspaceError enumWilco Kusee2020-01-034-30/+89
| | | |
* | | | Merge #2772bors[bot]2020-01-092-15/+99
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2772: Actually test references r=kjeremy a=kjeremy This will be a little more work when `ReferenceSearchResults` change but I think it's easier to maintain in the end. It also follows a similar pattern to navigation targets and call hierarchy. Co-authored-by: kjeremy <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]>
| * | | | visibility tweakJeremy Kolb2020-01-091-2/+2
| | | | |
| * | | | Actually test referenceskjeremy2020-01-082-15/+99
| | |/ / | |/| |
* | | | Merge #2771bors[bot]2020-01-093-8/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2771: Remove the Default impl for SourceRoot r=matklad a=michalt Let's be always explicit whether we create a library (i.e., an immutable dependency) or a local `SourceRoot`, since it can have a large impact on the validation performance in salsa. (we found it the hard way recently, where the `Default` instance made it quite tricky to spot a bug) Signed-off-by: Michal Terepeta <[email protected]> Co-authored-by: Michal Terepeta <[email protected]>
| * | | | Remove the Default impl for SourceRootMichal Terepeta2020-01-083-8/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let's be always explicit whether we create a library (i.e., an immutable dependency) or a local `SourceRoot`, since it can have a large impact on the validation performance in salsa. (we found it the hard way recently, where the `Default` instance made it quite tricky to spot a bug) Signed-off-by: Michal Terepeta <[email protected]>
* | | | Merge #2777bors[bot]2020-01-091-2/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 2777: Better error message r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Better error messageAleksey Kladov2020-01-091-2/+3
| | |/ | |/| | | | | | | closes #2775