aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* MinorAleksey Kladov2020-07-313-72/+62
|
* Rename LambdaExpr -> ClosureExprAleksey Kladov2020-07-3116-44/+37
|
* Work on expressions grammarAleksey Kladov2020-07-312-664/+686
|
* Item is a StmtAleksey Kladov2020-07-314-14/+32
|
* Handwrite StmtAleksey Kladov2020-07-313-26/+35
|
* Move Stmt GrammarAleksey Kladov2020-07-311-84/+85
|
* Finalize TypeBound grammarAleksey Kladov2020-07-313-48/+28
|
* "Finalize" Types grammarAleksey Kladov2020-07-312-2/+3
| | | | | | | 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...
* Reame PlaceholderType -> InferTypeAleksey Kladov2020-07-318-19/+19
|
* Rename TypeRef -> TypeAleksey Kladov2020-07-3117-175/+175
| | | | | | | | | | 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.
* Merge #5596bors[bot]2020-07-303-14/+33
|\ | | | | | | | | | | | | | | | | | | 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-302-3/+15
| | | | | | | | | | | | 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-306-25/+31
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 5610: Bump deps r=flodiebold a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | Bump chalkLaurențiu Nicola2020-07-303-20/+27
| | |
| * | Bump perf-event and rustc_lexerLaurențiu Nicola2020-07-302-3/+3
| | |
| * | Fix typoLaurențiu Nicola2020-07-301-2/+1
| |/
* | Use ty to access most TypeRefsAleksey Kladov2020-07-3010-31/+29
| |
* | Remove TypeAscriptionOwnerAleksey Kladov2020-07-3015-81/+56
| |
* | simplifyAleksey Kladov2020-07-301-18/+18
| |
* | Finalize attribute grammarAleksey Kladov2020-07-305-75/+27
| |
* | Merge #5609bors[bot]2020-07-301-102/+76
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 5609: Attrs & Vis r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Dead codeAleksey Kladov2020-07-301-102/+76
| | |
* | | Merge #5608bors[bot]2020-07-303-85/+150
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5608: Introduce GenericParam r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Introduce GenericParamAleksey Kladov2020-07-303-85/+150
| | |
* | | Merge #5607bors[bot]2020-07-302-64/+72
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5607: Finaize item grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Finaize item grammarAleksey Kladov2020-07-302-64/+72
| | |
* | | Merge #5606bors[bot]2020-07-3072-183/+183
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5606: Finalize impl Grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Finalize impl GrammarAleksey Kladov2020-07-3052-95/+95
| | |
| * | Finalize Trait grammarAleksey Kladov2020-07-3040-89/+89
| | |
| | |
| \ \
| \ \
| \ \
*---. | | Merge #5594 #5604 #5605bors[bot]2020-07-3053-236/+222
|\ \ \| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3037-123/+124
| | |/ /
| | * / Rename EnumVariant -> VariantAleksey Kladov2020-07-3030-80/+80
| |/ / |/| |
| * | Update sysroot cratesLaurențiu Nicola2020-07-301-31/+17
| |/
* | Rename EnumDef -> EnumAleksey Kladov2020-07-3033-75/+75
| |
* | Rename StructDef -> StructAleksey Kladov2020-07-3060-158/+158
| |
* | Finalize union grammarAleksey Kladov2020-07-3021-47/+47
| |
* | Finalize structs grammarAleksey Kladov2020-07-301-1/+0
| |
* | Merge #5597bors[bot]2020-07-3052-211/+202
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5597: Rename FieldDef -> Field r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Rename FieldDef -> FieldAleksey Kladov2020-07-3052-211/+202
| | |
* | | Merge #5595bors[bot]2020-07-3036-126/+131
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5595: Rename RecordLit -> RecordExpr r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Rename RecordLit -> RecordExprAleksey Kladov2020-07-3036-126/+131
| | |
* | | Merge #5593bors[bot]2020-07-301-3/+8
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 5593: Code shuffle resiliently r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Code shuffle resilientlyAleksey Kladov2020-07-301-3/+8
| | |