aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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]>
| * | | Rename EnumDef -> EnumAleksey Kladov2020-07-3035-83/+83
| | | |
* | | | Merge #5602bors[bot]2020-07-3063-163/+163
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5602: Rename StructDef -> Struct r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Rename StructDef -> StructAleksey Kladov2020-07-3063-163/+163
| | | |
* | | | Merge #5601bors[bot]2020-07-3023-51/+51
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5601: Finalize union grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Finalize union grammarAleksey Kladov2020-07-3023-51/+51
| | | |
* | | | Merge #5600bors[bot]2020-07-304-41/+29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5600: Finalize structs grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>