aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Merge #5592bors[bot]2020-07-3050-142/+143
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | 5592: Rename TypeParamList -> GenericParamList r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Rename TypeParamList -> GenericParamListAleksey Kladov2020-07-3050-142/+143
| | |
* | | Merge #5591bors[bot]2020-07-30268-789/+783
|\| | | |/ |/| | | | | | | | | | | | | | | | | 5591: Rename TypeAliasDef -> TypeAlias r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Rename TypeAliasDef -> TypeAliasAleksey Kladov2020-07-3063-148/+139
| |
| * Rename FnDef -> FnAleksey Kladov2020-07-30240-647/+650
| |
* | Merge #5588bors[bot]2020-07-301-3/+10
|\| | | | | | | | | | | | | | | | | | | | | 5588: Print errors when failing to create a perf counter r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Print errors when failing to create a perf counterAleksey Kladov2020-07-301-3/+10
| |
| * Update testsAleksey Kladov2020-07-3021-54/+54
| |
| * Rename UseItem -> UseAleksey Kladov2020-07-3016-39/+40
| |