aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Add expand glob import assistunexge2020-08-024-1/+366
|
* Merge #5638bors[bot]2020-08-012-24/+27
|\ | | | | | | | | | | | | | | 5638: Simplify argument parsing r=matklad a=lnicola and use `Display` when printing errors. Co-authored-by: Laurențiu Nicola <[email protected]>
| * Simplify argument parsingLaurențiu Nicola2020-08-012-24/+27
| |
* | Update grammarAleksey Kladov2020-08-0133-129/+129
|/
* Finish renameAleksey Kladov2020-07-311-3/+3
|
* Unify naming of tuple fieldsAleksey Kladov2020-07-314-10/+10
|
* Rename DotDotPat -> RestPatAleksey Kladov2020-07-3112-52/+52
|
* RenameAleksey Kladov2020-07-318-15/+12
|
* Simplify trait gramamrAleksey Kladov2020-07-311-1/+0
|
* Rename BindPat -> IdentPatAleksey Kladov2020-07-3181-270/+274
|
* Rename PalceholderPat -> WildcardPatAleksey Kladov2020-07-3148-132/+129
|
* ReorderAleksey Kladov2020-07-312-2/+1
|
* Allign RecordPat with RecordExprAleksey Kladov2020-07-3120-78/+72
|
* Minor gramamr reorderAleksey Kladov2020-07-311-327/+324
|
* Merge #5630bors[bot]2020-07-311-24/+0
|\ | | | | | | | | | | | | | | | | | | | | 5630: Remove dead code r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Remove dead codeAleksey Kladov2020-07-311-24/+0
| |
* | Fix leading colonAleksey Kladov2020-07-311-1/+1
| |
* | Fix const arguments grammarAleksey Kladov2020-07-313-262/+262
| |
* | Fix GenericArgs grammarAleksey Kladov2020-07-313-43/+100
| |
* | Rename TypeArgList -> GenericArgListAleksey Kladov2020-07-3139-66/+66
| |
* | Finalize Path grammarAleksey Kladov2020-07-311-446/+447
| |
* | 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]>