aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | |
* | | | Merge #5614bors[bot]2020-07-309-352/+334
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5614: Use split_once polyfill r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Use CmdArgs pattern for bench & analysis statsAleksey Kladov2020-07-305-331/+305
| | | | |
| * | | | Use split_once polyfillAleksey Kladov2020-07-305-22/+30
| |/ / /
* | | | Merge #5610bors[bot]2020-07-307-39/+45
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 5610: Bump deps r=flodiebold a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | Bump chalkLaurențiu Nicola2020-07-304-28/+35
| | | |
| * | | Bump perf-event and rustc_lexerLaurențiu Nicola2020-07-303-9/+9
| | | |
| * | | Fix typoLaurențiu Nicola2020-07-301-2/+1
| |/ /
* | | Merge #5613bors[bot]2020-07-3011-41/+39
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5613: Use ty to access most TypeRefs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Use ty to access most TypeRefsAleksey Kladov2020-07-3011-41/+39
| | | |
* | | | Merge #5612bors[bot]2020-07-3017-90/+64
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5612: Remove TypeAscriptionOwner r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Remove TypeAscriptionOwnerAleksey Kladov2020-07-3017-90/+64
| | | |
* | | | Merge #5611bors[bot]2020-07-306-100/+48
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5611: Finalize attribute grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | simplifyAleksey Kladov2020-07-302-21/+20
| | | |
| * | | Finalize attribute grammarAleksey Kladov2020-07-306-79/+28
|/ / /
* | | Merge #5609bors[bot]2020-07-302-115/+90
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5609: Attrs & Vis r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Dead codeAleksey Kladov2020-07-302-105/+76
| | | |
| * | | MinorAleksey Kladov2020-07-301-7/+6
| | | |
| * | | Finalize visibility grammarAleksey Kladov2020-07-301-3/+8
| | | |
* | | | Merge #5608bors[bot]2020-07-305-103/+170
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5608: Introduce GenericParam r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Introduce GenericParamAleksey Kladov2020-07-305-103/+170
| | | |
* | | | Merge #5607bors[bot]2020-07-303-80/+88
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5607: Finaize item grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Finaize item grammarAleksey Kladov2020-07-303-80/+88
| | | |
* | | | Merge #5606bors[bot]2020-07-3074-193/+199
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5606: Finalize impl Grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Finalize impl GrammarAleksey Kladov2020-07-3054-100/+103
| | | |
| * | | Finalize Trait grammarAleksey Kladov2020-07-3042-92/+92
| | | |
| * | | Fix param gramamrAleksey Kladov2020-07-301-2/+5
| | | |
| | | |
| \ \ \
| \ \ \
| \ \ \
*---. | | | Merge #5594 #5604 #5605bors[bot]2020-07-3055-256/+242
|\ \ \| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5594: Update sysroot crates r=jonas-schievink a=lnicola 5604: Rename EnumVariant -> Variant r=matklad a=matklad bors r+ 🤖 5605: fmt r=matklad a=matklad bors r+ 🤖 Co-authored-by: Laurențiu Nicola <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| | | * | | fmtAleksey Kladov2020-07-302-6/+5
| | | | | |
| | | * | | Finalize const&static grammarAleksey Kladov2020-07-3039-137/+138
| | |/ / /
| | * | | Finalize Enum grammarAleksey Kladov2020-07-301-1/+1
| | | | |
| | * | | Rename EnumVariant -> VariantAleksey Kladov2020-07-3032-86/+86
| | | | |
| * | | | Update sysroot cratesLaurențiu Nicola2020-07-301-31/+17
| | |/ / | |/| |
* | | | Merge #5603bors[bot]2020-07-3035-83/+83
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5603: Rename EnumDef -> Enum r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>