]>
git.lizzy.rs Git - rust.git/log
kjeremy [Fri, 24 Jul 2020 21:55:17 +0000 (17:55 -0400)]
Handle semantic token deltas
bors[bot] [Fri, 31 Jul 2020 20:05:10 +0000 (20:05 +0000)]
Merge #5634
5634: Finish rename r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 19:59:40 +0000 (21:59 +0200)]
Finish rename
Aleksey Kladov [Fri, 31 Jul 2020 19:58:36 +0000 (21:58 +0200)]
Unify naming of tuple fields
Aleksey Kladov [Fri, 31 Jul 2020 19:56:52 +0000 (21:56 +0200)]
Section headers
bors[bot] [Fri, 31 Jul 2020 19:47:23 +0000 (19:47 +0000)]
Merge #5633
5633: Rename DotDotPat -> RestPat r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 19:45:29 +0000 (21:45 +0200)]
Rename DotDotPat -> RestPat
bors[bot] [Fri, 31 Jul 2020 18:29:21 +0000 (18:29 +0000)]
Merge #5632
5632: Cleanup impl gramamr r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 18:23:52 +0000 (20:23 +0200)]
Rename
Aleksey Kladov [Fri, 31 Jul 2020 18:22:20 +0000 (20:22 +0200)]
Simplify trait gramamr
bors[bot] [Fri, 31 Jul 2020 18:12:38 +0000 (18:12 +0000)]
Merge #5631
5631: Finalize pattern grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 18:09:09 +0000 (20:09 +0200)]
Rename BindPat -> IdentPat
Aleksey Kladov [Fri, 31 Jul 2020 18:07:21 +0000 (20:07 +0200)]
Rename PalceholderPat -> WildcardPat
Aleksey Kladov [Fri, 31 Jul 2020 18:04:40 +0000 (20:04 +0200)]
Reorder
Aleksey Kladov [Fri, 31 Jul 2020 17:54:16 +0000 (19:54 +0200)]
Allign RecordPat with RecordExpr
Aleksey Kladov [Fri, 31 Jul 2020 17:49:26 +0000 (19:49 +0200)]
Minor gramamr reorder
bors[bot] [Fri, 31 Jul 2020 16:56:57 +0000 (16:56 +0000)]
Merge #5630
5630: Remove dead code r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 16:53:10 +0000 (18:53 +0200)]
Remove dead code
bors[bot] [Fri, 31 Jul 2020 16:50:43 +0000 (16:50 +0000)]
Merge #5629
5629: Finalize Path grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 16:49:42 +0000 (18:49 +0200)]
Fix leading colon
Aleksey Kladov [Fri, 31 Jul 2020 16:46:07 +0000 (18:46 +0200)]
Fix const arguments grammar
Aleksey Kladov [Fri, 31 Jul 2020 16:41:37 +0000 (18:41 +0200)]
Fix GenericArgs grammar
bors[bot] [Fri, 31 Jul 2020 16:34:18 +0000 (16:34 +0000)]
Merge #5627
5627: Specify literal tokens r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 16:30:02 +0000 (18:30 +0200)]
fixup! Finalize Path grammar
Aleksey Kladov [Fri, 31 Jul 2020 16:29:29 +0000 (18:29 +0200)]
Rename TypeArgList -> GenericArgList
Aleksey Kladov [Fri, 31 Jul 2020 16:27:23 +0000 (18:27 +0200)]
Finalize Path grammar
Aleksey Kladov [Fri, 31 Jul 2020 16:16:08 +0000 (18:16 +0200)]
Specify literal tokens
bors[bot] [Fri, 31 Jul 2020 16:12:01 +0000 (16:12 +0000)]
Merge #5626
5626: Minor r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 16:04:57 +0000 (18:04 +0200)]
Minor
bors[bot] [Fri, 31 Jul 2020 15:17:56 +0000 (15:17 +0000)]
Merge #5625
5625: Document crates.io deps policy r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 15:17:32 +0000 (17:17 +0200)]
Document crates.io deps policy
bors[bot] [Fri, 31 Jul 2020 15:09:31 +0000 (15:09 +0000)]
Merge #5624
5624: Finalize expressions grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 15:08:58 +0000 (17:08 +0200)]
Rename LambdaExpr -> ClosureExpr
Aleksey Kladov [Fri, 31 Jul 2020 14:52:08 +0000 (16:52 +0200)]
Work on expressions grammar
bors[bot] [Fri, 31 Jul 2020 13:54:19 +0000 (13:54 +0000)]
Merge #5623
5623: Item is a Stmt r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 13:46:12 +0000 (15:46 +0200)]
Item is a Stmt
Aleksey Kladov [Fri, 31 Jul 2020 13:40:48 +0000 (15:40 +0200)]
Handwrite Stmt
bors[bot] [Fri, 31 Jul 2020 13:29:34 +0000 (13:29 +0000)]
Merge #5622
5622: Finalize WhereClause gramamr r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 13:18:14 +0000 (15:18 +0200)]
Move Stmt Grammar
Aleksey Kladov [Fri, 31 Jul 2020 13:09:20 +0000 (15:09 +0200)]
Finalize WhereClause gramamr
bors[bot] [Fri, 31 Jul 2020 13:01:54 +0000 (13:01 +0000)]
Merge #5621
5621: Finalize TypeBound grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 13:01:18 +0000 (15:01 +0200)]
Finalize TypeBound grammar
bors[bot] [Fri, 31 Jul 2020 12:42:31 +0000 (12:42 +0000)]
Merge #5620
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 <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 12:40:28 +0000 (14:40 +0200)]
"Finalize" Types grammar
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[bot] [Fri, 31 Jul 2020 12:13:31 +0000 (12:13 +0000)]
Merge #5619
5619: Reame PlaceholderType -> InferType r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 11:22:47 +0000 (13:22 +0200)]
Reame PlaceholderType -> InferType
bors[bot] [Fri, 31 Jul 2020 11:13:19 +0000 (11:13 +0000)]
Merge #5513
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 <urbandove80@gmail.com>
bors[bot] [Fri, 31 Jul 2020 10:18:53 +0000 (10:18 +0000)]
Merge #5618
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 <aleksey.kladov@gmail.com>
Aleksey Kladov [Fri, 31 Jul 2020 10:06:38 +0000 (12:06 +0200)]
Rename TypeRef -> Type
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.
Aleksey Kladov [Fri, 31 Jul 2020 10:02:42 +0000 (12:02 +0200)]
Reorder
bors[bot] [Thu, 30 Jul 2020 21:23:41 +0000 (21:23 +0000)]
Merge #5596
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 <clemens.wasser@gmail.com>
bors[bot] [Thu, 30 Jul 2020 20:58:20 +0000 (20:58 +0000)]
Merge #5615
5615: simplify r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 20:56:11 +0000 (22:56 +0200)]
simplify
bors[bot] [Thu, 30 Jul 2020 20:38:58 +0000 (20:38 +0000)]
Merge #5614
5614: Use split_once polyfill r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 20:38:24 +0000 (22:38 +0200)]
Use CmdArgs pattern for bench & analysis stats
Aleksey Kladov [Thu, 30 Jul 2020 20:19:58 +0000 (22:19 +0200)]
Use split_once polyfill
bors[bot] [Thu, 30 Jul 2020 20:10:07 +0000 (20:10 +0000)]
Merge #5610
5610: Bump deps r=flodiebold a=lnicola
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Laurențiu Nicola [Thu, 30 Jul 2020 17:37:28 +0000 (20:37 +0300)]
Bump chalk
bors[bot] [Thu, 30 Jul 2020 19:03:25 +0000 (19:03 +0000)]
Merge #5613
5613: Use ty to access most TypeRefs r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 19:02:55 +0000 (21:02 +0200)]
Use ty to access most TypeRefs
bors[bot] [Thu, 30 Jul 2020 18:53:36 +0000 (18:53 +0000)]
Merge #5612
5612: Remove TypeAscriptionOwner r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 18:51:43 +0000 (20:51 +0200)]
Remove TypeAscriptionOwner
bors[bot] [Thu, 30 Jul 2020 18:39:09 +0000 (18:39 +0000)]
Merge #5611
5611: Finalize attribute grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 18:27:39 +0000 (20:27 +0200)]
simplify
Aleksey Kladov [Thu, 30 Jul 2020 18:16:04 +0000 (20:16 +0200)]
Finalize attribute grammar
Laurențiu Nicola [Thu, 30 Jul 2020 17:21:28 +0000 (20:21 +0300)]
Bump perf-event and rustc_lexer
Laurențiu Nicola [Thu, 30 Jul 2020 17:19:37 +0000 (20:19 +0300)]
Fix typo
bors[bot] [Thu, 30 Jul 2020 17:11:26 +0000 (17:11 +0000)]
Merge #5609
5609: Attrs & Vis r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 17:10:46 +0000 (19:10 +0200)]
Dead code
Aleksey Kladov [Thu, 30 Jul 2020 17:10:22 +0000 (19:10 +0200)]
Minor
Aleksey Kladov [Thu, 30 Jul 2020 16:55:49 +0000 (18:55 +0200)]
Finalize visibility grammar
bors[bot] [Thu, 30 Jul 2020 16:52:59 +0000 (16:52 +0000)]
Merge #5608
5608: Introduce GenericParam r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 16:52:02 +0000 (18:52 +0200)]
Introduce GenericParam
bors[bot] [Thu, 30 Jul 2020 16:39:40 +0000 (16:39 +0000)]
Merge #5607
5607: Finaize item grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 16:37:46 +0000 (18:37 +0200)]
Finaize item grammar
bors[bot] [Thu, 30 Jul 2020 16:29:24 +0000 (16:29 +0000)]
Merge #5606
5606: Finalize impl Grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 16:28:28 +0000 (18:28 +0200)]
Finalize impl Grammar
Aleksey Kladov [Thu, 30 Jul 2020 16:17:28 +0000 (18:17 +0200)]
Finalize Trait grammar
Aleksey Kladov [Thu, 30 Jul 2020 16:15:08 +0000 (18:15 +0200)]
Fix param gramamr
bors[bot] [Thu, 30 Jul 2020 16:13:58 +0000 (16:13 +0000)]
Merge #5594 #5604 #5605
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 <lnicola@dend.ro>
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 16:10:07 +0000 (18:10 +0200)]
fmt
bors[bot] [Thu, 30 Jul 2020 16:07:32 +0000 (16:07 +0000)]
Merge #5603
5603: Rename EnumDef -> Enum r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 16:02:20 +0000 (18:02 +0200)]
Finalize const&static grammar
Aleksey Kladov [Thu, 30 Jul 2020 15:57:58 +0000 (17:57 +0200)]
Finalize Enum grammar
Aleksey Kladov [Thu, 30 Jul 2020 15:56:53 +0000 (17:56 +0200)]
Rename EnumVariant -> Variant
Aleksey Kladov [Thu, 30 Jul 2020 15:52:53 +0000 (17:52 +0200)]
Rename EnumDef -> Enum
bors[bot] [Thu, 30 Jul 2020 15:51:06 +0000 (15:51 +0000)]
Merge #5602
5602: Rename StructDef -> Struct r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 15:50:40 +0000 (17:50 +0200)]
Rename StructDef -> Struct
bors[bot] [Thu, 30 Jul 2020 15:39:56 +0000 (15:39 +0000)]
Merge #5601
5601: Finalize union grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 15:36:46 +0000 (17:36 +0200)]
Finalize union grammar
bors[bot] [Thu, 30 Jul 2020 15:29:05 +0000 (15:29 +0000)]
Merge #5600
5600: Finalize structs grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 15:24:07 +0000 (17:24 +0200)]
Finalize structs grammar
Aleksey Kladov [Thu, 30 Jul 2020 15:19:51 +0000 (17:19 +0200)]
Simplify
bors[bot] [Thu, 30 Jul 2020 15:11:20 +0000 (15:11 +0000)]
Merge #5598
5598: Simplify codegen r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 15:10:44 +0000 (17:10 +0200)]
Simplify codegen
bors[bot] [Thu, 30 Jul 2020 14:49:39 +0000 (14:49 +0000)]
Merge #5597
5597: Rename FieldDef -> Field r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 14:49:13 +0000 (16:49 +0200)]
Rename FieldDef -> Field
Clemens Wasser [Thu, 30 Jul 2020 14:23:07 +0000 (16:23 +0200)]
ra_project_model: Fix configuration of features
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`.
bors[bot] [Thu, 30 Jul 2020 14:24:20 +0000 (14:24 +0000)]
Merge #5595
5595: Rename RecordLit -> RecordExpr r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Thu, 30 Jul 2020 14:21:30 +0000 (16:21 +0200)]
Rename RecordLit -> RecordExpr