Jonas Schievink
9b5fa1c61a
Add back jemalloc support
2021-01-18 19:39:46 +01:00
Jonas Schievink
872bf09381
Add MacroType
syntax
2021-01-18 17:56:35 +01:00
Lukas Wirth
98718e0544
Wrap remaining self/super/crate in Name{Ref}
2021-01-15 22:18:43 +01:00
Lukas Wirth
cb863390f2
Handle self/super/crate in PathSegment as NameRef
2021-01-15 19:21:23 +01:00
Daiki Ihara
85cd3524e2
Add support for yiled keyword
2021-01-15 23:35:17 +09:00
Daiki Ihara
d9b1fa6da3
Upgrade ungrammar to v1.7
2021-01-15 23:35:17 +09:00
Lukas Wirth
3d6480bc31
Render Fn* trait objects and impl types as rust does
2021-01-13 13:29:47 +01:00
Aleksey Kladov
c62f1c762f
Add build benchmark xtask command
2021-01-11 21:39:16 +03:00
Edwin Cheng
8584d26926
Add check for dbg! macro
2021-01-08 17:38:43 +08:00
Edwin Cheng
66b132b4b2
Remove unused dbg
2021-01-08 17:38:43 +08:00
Kevaundray Wedderburn
72b9a4fbd3
Change <|> to $0 - Rebase
2021-01-07 12:09:23 +00:00
Aleksey Kladov
08a1bcf9f8
Extend git evacuation procedure
2021-01-07 12:01:21 +03:00
Aleksey Kladov
f9707cde68
Rename expr -> tail_expr
2021-01-05 15:51:13 +03:00
Laurențiu Nicola
08e609bef0
Stop using beta toolchain in xtask dist
2021-01-02 09:51:41 +02:00
Aleksey Kladov
8106893dc6
deny_clippy test works with cfg_attr
2021-01-01 01:58:04 +03:00
bors[bot]
fd1fcf2c2e
Merge #7010
...
7010: Update ungrammar for const block patterns r=matklad a=Veykril
Fixes #6848
Adds const blocks and const block patterns to the AST and parses them.
Blocked on https://github.com/rust-analyzer/ungrammar/pull/17/ , will merge that PR there once this one gets the OK so I can remove the local ungrammar dependency path and fix the Cargo.lock.
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2020-12-23 10:37:30 +00:00
Laurențiu Nicola
25a987703c
Don't release uncompressed binaries under the new naming scheme
2020-12-23 08:46:38 +02:00
Lukas Wirth
be7260485e
Update ungrammar for const block patterns
2020-12-23 01:26:31 +01:00
Laurențiu Nicola
e881815115
Build aarch64-apple-darwin binaries on CI
2020-12-22 13:18:00 +02:00
Lukas Wirth
dd496223f5
Node-ify lifetimes
2020-12-16 14:16:09 +01:00
Jonas Schievink
c1cb595382
Move to upstream macro_rules!
model
2020-12-15 15:37:37 +01:00
Jeremy Kolb
26a1675764
Remove some redundant allocations
2020-12-12 12:27:09 -05:00
Jonas Schievink
cb35d3a05a
metrics: go back to cmd!
2020-12-11 18:24:42 +01:00
Jonas Schievink
64752ef5e9
Fix typo leading to metrics loss
2020-12-11 17:55:52 +01:00
Jonas Schievink
7fc4ba000e
Capture memory usage metrics
2020-12-11 17:30:32 +01:00
Jonas Schievink
75543d8ca1
Revert "Fix memory usage metrics"
2020-12-11 16:50:17 +01:00
Jonas Schievink
777d8dca26
Fix memory usage metrics
2020-12-11 15:47:40 +01:00
Aleksey Kladov
0890512e1c
Include config into the manual
2020-12-09 15:31:10 +03:00
Jérémy
019ad25939
Update usage string to include code-exploration client.
2020-12-08 20:28:32 +01:00
Jérémy
7cf2c0d46f
Add client install support for code-exploration
build.
2020-12-08 19:23:25 +01:00
kjeremy
d18acb0f65
Update expect-test and remove outdated license
2020-12-07 14:19:10 -05:00
kjeremy
4e73c8f608
cargo update and add new license
2020-11-17 09:39:25 -05:00
Aleksey Kladov
75d2075665
Revert "Upgrade version of npms lockfile"
...
This reverts commit 3d559afc11
.
VS Code uses nodejs 12 still, so its better to stick to the format it
understands.
2020-11-13 16:17:52 +01:00
Aleksey Kladov
3d559afc11
Upgrade version of npms lockfile
2020-11-12 20:39:16 +01:00
Aleksey Kladov
29bf6bed9b
More consistent naming
2020-11-09 13:07:18 +01:00
bors[bot]
dac7060382
Merge #6476
...
6476: Add missing AssocItems in add_custom_impl assist r=matklad a=Veykril
```rust
use std::fmt;
#[derive(Debu<|>g)]
struct Foo {
bar: String,
}
```
->
```rust
use std::fmt;
struct Foo {
bar: String,
}
impl fmt::Debug for Foo {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
${0:todo!()}
}
}
```
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2020-11-07 18:21:11 +00:00
Aleksey Kladov
5ba4f949c2
Kill RAW_ literals
...
Syntactically, they are indistinguishable from non-raw versions, so it
doesn't make sense to separate then *at the syntax* level.
2020-11-06 22:23:14 +01:00
Aleksey Kladov
3820b26a93
Generate token for ints and floats
2020-11-06 18:19:24 +01:00
Lukas Wirth
19443c1fa3
Add missing AssocItems in add_custom_impl assist
2020-11-05 23:41:46 +01:00
Aleksey Kladov
b610118453
Deny unreachable-pub
...
It's very useful when `pub` is equivalent to "this is crate's public
API", let's enforce this!
Ideally, we should enforce it for local `cargo test`, and only during
CI, but that needs https://github.com/rust-lang/cargo/issues/5034 .
2020-11-02 14:07:08 +01:00
Igor Aleksanov
19c1067202
Reorganize completions structure
2020-10-25 10:59:15 +03:00
bors[bot]
0833484914
Merge #6259
...
6259: allow xtask install --client[=CLIENT] to specify client r=Emilgardis a=Emilgardis
Co-authored-by: Emil Gardström <emil.gardstrom@gmail.com>
2020-10-20 20:49:17 +00:00
Emil Gardström
c5b1c36b2b
rename flag --client-code to --client on xtask install
2020-10-20 22:37:02 +02:00
Benjamin Coenen
aa031e91f4
add completions for clippy lint in attributes
...
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2020-10-20 21:29:31 +02:00
Igor Aleksanov
b8a74e0370
Add generated_diagnostic.adoc to the release.rs and smoke_test_docs_generation
2020-10-19 21:07:40 +03:00
Igor Aleksanov
aa9be4d523
Use xshell::read_file instead of fs::read_to_string
2020-10-19 20:58:32 +03:00
Igor Aleksanov
52b19c39e8
Create xtask module to generate diagnostics docs
2020-10-19 20:55:16 +03:00
Igor Aleksanov
9e7c952bbd
Extract call_info and completion into separate crates
2020-10-18 13:09:00 +03:00
Emil Gardström
d0bb051ef7
allow xtask install --client-code[=CLIENT] to specify client
2020-10-17 10:28:12 +02:00
Aleksey Kladov
49a90d4c31
Switch from not_bash to xshell
2020-10-17 02:42:42 +02:00