aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge #5632bors[bot]2020-07-3111-22/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5632: Cleanup impl gramamr r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | RenameAleksey Kladov2020-07-318-15/+12
| | | |
| * | | Simplify trait gramamrAleksey Kladov2020-07-313-7/+7
| | | |
* | | | Merge #5631bors[bot]2020-07-31121-837/+829
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5631: Finalize pattern grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Rename BindPat -> IdentPatAleksey Kladov2020-07-3183-273/+277
| | | |
| * | | Rename PalceholderPat -> WildcardPatAleksey Kladov2020-07-3150-135/+132
| | | |
| * | | ReorderAleksey Kladov2020-07-313-19/+18
| | | |
| * | | Allign RecordPat with RecordExprAleksey Kladov2020-07-3122-85/+78
| | | |
| * | | Minor gramamr reorderAleksey Kladov2020-07-312-388/+387
|/ / /
* | | Merge #5630bors[bot]2020-07-312-27/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5630: Remove dead code r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Remove dead codeAleksey Kladov2020-07-312-27/+0
| | | |
* | | | Merge #5629bors[bot]2020-07-3141-654/+716
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5629: Finalize Path grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Fix leading colonAleksey Kladov2020-07-312-2/+3
| | | | |
| * | | | Fix const arguments grammarAleksey Kladov2020-07-314-263/+263
| | | | |
| * | | | Fix GenericArgs grammarAleksey Kladov2020-07-314-50/+107
| | | | |
| * | | | fixup! Finalize Path grammarAleksey Kladov2020-07-311-1/+1
| | | | |
| * | | | Rename TypeArgList -> GenericArgListAleksey Kladov2020-07-3141-70/+70
| | | | |
| * | | | Finalize Path grammarAleksey Kladov2020-07-312-473/+477
| | | | |
* | | | | Merge #5627bors[bot]2020-07-312-1/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5627: Specify literal tokens r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Specify literal tokensAleksey Kladov2020-07-312-1/+8
| | | | |
* | | | | Merge #5626bors[bot]2020-07-314-79/+68
|\| | | | | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5626: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | MinorAleksey Kladov2020-07-314-79/+68
|/ / /
* | | Merge #5625bors[bot]2020-07-311-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5625: Document crates.io deps policy r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Document crates.io deps policyAleksey Kladov2020-07-311-0/+6
| | | |
* | | | Merge #5624bors[bot]2020-07-3119-848/+894
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 5624: Finalize expressions grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Rename LambdaExpr -> ClosureExprAleksey Kladov2020-07-3119-54/+59
| | | |
| * | | Work on expressions grammarAleksey Kladov2020-07-314-821/+862
| | | |
* | | | Merge #5623bors[bot]2020-07-317-63/+94
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5623: Item is a Stmt r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Item is a StmtAleksey Kladov2020-07-316-15/+36
| | | |
| * | | Handwrite StmtAleksey Kladov2020-07-314-51/+61
| | | |
* | | | Merge #5622bors[bot]2020-07-312-102/+103
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5622: Finalize WhereClause gramamr r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Move Stmt GrammarAleksey Kladov2020-07-312-95/+96
| | | |
| * | | Finalize WhereClause gramamrAleksey Kladov2020-07-311-7/+7
| | | |
* | | | Merge #5621bors[bot]2020-07-314-54/+35
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5621: Finalize TypeBound grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Finalize TypeBound grammarAleksey Kladov2020-07-314-54/+35
| | | |
* | | | Merge #5620bors[bot]2020-07-313-3/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5620: Finalize Types grammar r=matklad a=matklad Note that `for` type is rust-analyzer's own invention. Both the reference and syn allow `for` only for fnptr types, and we allow them everywhere. This needs to be checked with respect to type bounds grammar... bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | "Finalize" Types grammarAleksey Kladov2020-07-313-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that `for` type is rust-analyzer's own invention. Both the reference and syn allow `for` only for fnptr types, and we allow them everywhere. This needs to be checked with respect to type bounds grammar...
* | | | Merge #5619bors[bot]2020-07-3110-28/+28
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5619: Reame PlaceholderType -> InferType r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Reame PlaceholderType -> InferTypeAleksey Kladov2020-07-3110-28/+28
| | | |
* | | | Merge #5513bors[bot]2020-07-311-2/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5513: Try figure out correct workspace in vscode multi root workspace r=vsrs a=urbandove the code to replace the root with the `${workspaceRoot}` arg breaks in multi root workspaces as it needs a qualifier `${workspaceRoot:workspaceName}` This PR attempts to figure out the root workspace - and if it cant find it falls back to the first workspace Co-authored-by: Urban Dove <[email protected]>
| * | | | delete empty lineUrban Dove2020-07-261-1/+0
| | | | |
| * | | | try select correct workspace in vscode multi workspaceUrban Dove2020-07-261-2/+11
| | | | |
* | | | | Merge #5618bors[bot]2020-07-3119-222/+228
|\ \ \ \ \ | | |/ / / | |/| / / | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5618: Rename TypeRef -> Type r=matklad a=matklad The TypeRef name comes from IntelliJ days, where you often have both type *syntax* as well as *semantical* representation of types in scope. And naming both Type is confusing. In rust-analyzer however, we use ast types as `ast::Type`, and have many more semantic counterparts to ast types, so avoiding name clash here is just confusing. bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Rename TypeRef -> TypeAleksey Kladov2020-07-3119-203/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The TypeRef name comes from IntelliJ days, where you often have both type *syntax* as well as *semantical* representation of types in scope. And naming both Type is confusing. In rust-analyzer however, we use ast types as `ast::Type`, and have many more semantic counterparts to ast types, so avoiding name clash here is just confusing.
| * | | ReorderAleksey Kladov2020-07-311-20/+20
|/ / /
* | | Merge #5596bors[bot]2020-07-304-14/+41
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5596: Add checkOnSave.noDefaultFeatures and correct, how we handle some cargo flags. r=clemenswasser a=clemenswasser This PR adds the `rust-analyzer.checkOnSave.noDefaultFeatures` option and fixes the handling of `cargo.allFeatures`, `cargo.noDefaultFeatures` and `cargo.features`. Fixes: #5550 Co-authored-by: Clemens Wasser <[email protected]>
| * | | ra_project_model: Fix configuration of featuresClemens Wasser2020-07-301-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes the handling of user-defined configuration of some cargo options. Previously you could either specify `--all-features`, `--no-default-features` or `--features`. Now you can specify either `--all-features` or `--no-default-features` and `--features`. This commit also corrects the `--features` command-line argument creation inside of `load_extern_resources`.
| * | | flycheck: Added checkOnSave.noDefaultFeaturesClemens Wasser2020-07-303-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | This commit adds the option `rust-analyzer.checkOnSave.noDefaultFeatures` and fixes #5550.
* | | | Merge #5615bors[bot]2020-07-301-6/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5615: simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | simplifyAleksey Kladov2020-07-301-6/+4
| | | | |