Aleksey Kladov
1142112c70
Rename FnDef -> Fn
2020-07-30 15:16:05 +02:00
bors[bot]
96c3ff1c57
Merge #5588
...
5588: Print errors when failing to create a perf counter r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-30 12:34:38 +00:00
Aleksey Kladov
3e1e6227ca
Print errors when failing to create a perf counter
2020-07-30 14:34:11 +02:00
bors[bot]
5844dd0bb4
Merge #5586
...
5586: Add workaround for changing sysroot paths r=jonas-schievink a=lnicola
Fixes #5577
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2020-07-30 12:26:04 +00:00
Aleksey Kladov
b6b77d1396
Update tests
2020-07-30 14:20:33 +02:00
Aleksey Kladov
b1332670c7
Rename UseItem -> Use
2020-07-30 14:20:33 +02:00
Aleksey Kladov
e381c02ef3
Add comma list to use tree
2020-07-30 14:20:33 +02:00
bors[bot]
51b18ee2f1
Merge #5587
...
5587: Finish use grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-30 12:18:41 +00:00
Aleksey Kladov
02cac962e1
Update tests
2020-07-30 14:18:12 +02:00
Aleksey Kladov
9697d23cbe
Rename UseItem -> Use
2020-07-30 14:12:04 +02:00
Aleksey Kladov
35e7966ebe
Add comma list to use tree
2020-07-30 14:06:39 +02:00
Laurențiu Nicola
a538e0fbe8
Add workaround for changing sysroot paths
2020-07-30 15:04:41 +03:00
bors[bot]
9042009b7f
Merge #5567
...
5567: SSR: Wrap placeholder expansions in parenthesis when necessary r=matklad a=davidlattimore
e.g. `foo($a) ==> $a.to_string()` should produce `(1 + 2).to_string()` not `1 + 2.to_string()`
We don't yet try to determine if the whole replacement needs to be wrapped in parenthesis. That's harder and I think perhaps less often an issue.
Co-authored-by: David Lattimore <dml@google.com>
2020-07-30 11:36:50 +00:00
bors[bot]
be803efb7c
Merge #5585
...
5585: Finish extern crate grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-30 11:30:00 +00:00
Aleksey Kladov
96313283cd
Update tests
2020-07-30 12:33:05 +02:00
David Lattimore
fa1e411322
SSR: Wrap placeholder expansions in parenthesis when necessary
...
e.g. `foo($a) ==> $a.to_string()` should produce `(1 + 2).to_string()`
not `1 + 2.to_string()`
We don't yet try to determine if the whole replacement needs to be
wrapped in parenthesis. That's harder and I think perhaps less often an
issue.
2020-07-30 20:32:01 +10:00
Aleksey Kladov
d032f872b6
Finish extern crates grammar
2020-07-30 12:31:07 +02:00
bors[bot]
570fdf26c9
Merge #5584
...
5584: Rename metric r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-30 10:12:58 +00:00
Aleksey Kladov
5cb3d527b0
Rename metric
2020-07-30 12:04:01 +02:00
bors[bot]
dc49f88f17
Merge #5583
...
5583: Rename Rename r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-30 10:01:43 +00:00
Aleksey Kladov
026e4e6af1
Update tests
2020-07-30 12:01:14 +02:00
Aleksey Kladov
6cd2131caf
Rename Rename
2020-07-30 11:58:41 +02:00
bors[bot]
74864d560b
Merge #5582
...
5582: Finish Module grammar r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-30 09:51:20 +00:00
Aleksey Kladov
7d09e5ed61
Finish Module grammar
2020-07-30 11:50:56 +02:00
Aleksey Kladov
081f35fe1b
Update tests
2020-07-30 11:50:56 +02:00
Aleksey Kladov
2984da672e
Split ItemList & AssocItemList
2020-07-30 11:50:56 +02:00
bors[bot]
72ffd851dd
Merge #5581
...
5581: Measure instructions in addition to time r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-30 08:44:31 +00:00
Aleksey Kladov
f22af66c37
Fixes
2020-07-30 10:43:47 +02:00
Aleksey Kladov
5e498546e8
Fix non-linux compilation
2020-07-30 10:40:55 +02:00
Aleksey Kladov
e9983f98a9
Do not show progress with parallel analysis
2020-07-30 10:30:01 +02:00
Aleksey Kladov
7204374719
Report instructions in addition to time
...
They hopefully will be more stable on CI
2020-07-30 10:23:32 +02:00
bors[bot]
c8573c418c
Merge #5580
...
5580: fix cast r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-30 08:14:58 +00:00
Aleksey Kladov
4bab553029
fix cast
2020-07-30 10:14:35 +02:00
bors[bot]
402433470a
Merge #5579
...
5579: Allow negative bytes r=matklad a=matklad
Gotta be optimistic about those memory usage optimizations
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-30 07:58:06 +00:00
Aleksey Kladov
afab67e69c
Allow negative bytes
...
Gotta be optimistic about those memory usage optimizations
2020-07-30 09:57:36 +02:00
Aleksey Kladov
dae99b6661
Drop resident from memory usage
2020-07-30 09:45:20 +02:00
Aleksey Kladov
ad43d6bde6
Merge pull request #5575 from Veetaha/feat/remove-ci-workaround-for-perms-errors
...
Remove the premissions-misconifguration bug workarounds on CI
2020-07-30 02:04:26 +02:00
bors[bot]
9da454bcc2
Merge #5578
...
5578: Rename ModuleItem -> Item r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-29 22:48:04 +00:00
Aleksey Kladov
ede5d17b04
Finish SourceFile grammar
2020-07-30 00:46:39 +02:00
Aleksey Kladov
6636f56e79
Rename ModuleItem -> Item
2020-07-30 00:23:03 +02:00
bors[bot]
4567ae575e
Merge #5554
...
5554: Fix remove_dbg r=matklad a=petr-tik
Closes #5129
Addresses two issues:
- keep the parens from dbg!() in case the call is chained or there is
semantic difference if parens are excluded
- Exclude the semicolon after the dbg!(); by checking if it was
accidentally included in the macro_call
investigated, but decided against:
fix ast::MacroCall extraction to never include semicolons at the end -
this logic lives in rowan.
Defensively shorten the macro_range if there is a semicolon token.
Deleted unneccessary temp variable macro_args
Renamed macro_content to "paste_instead_of_dbg", because it isn't a
simple extraction of text inside dbg!() anymore
Co-authored-by: petr-tik <petr-tik@users.noreply.github.com>
2020-07-29 21:59:03 +00:00
bors[bot]
bd5d236724
Merge #5563
...
5563: Check all targets for package-level tasks r=matklad a=SomeoneToIgnore
When invoking "Select Runnable" with the caret on a runnable with a specific target (test, bench, binary), append the corresponding argument for the `cargo check -p` module runnable.
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
2020-07-29 21:51:49 +00:00
petr-tik
6ea393a8d1
Addressed code review
...
replaced match with let-if variable assignment
removed the unnecessary semicolon_on_end variable
converted all code and expected test variables to raw strings
and inlined them in asserts
2020-07-29 22:12:53 +01:00
bors[bot]
16caadb404
Merge #5576
...
5576: cargo_metadata 0.11.1 and cargo update r=kjeremy a=kjeremy
Co-authored-by: kjeremy <kjeremy@gmail.com>
2020-07-29 21:11:54 +00:00
kjeremy
e51d1ddf5b
cargo_metadata 0.11.1 and cargo update
2020-07-29 17:06:56 -04:00
Veetaha
3d6fc649f2
Remove the premissions-misconifguration bug workarounds on CI
2020-07-29 23:58:47 +03:00
bors[bot]
2e10f156c5
Merge #5574
...
5574: Replace rand with oorandom r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-29 17:57:20 +00:00
Aleksey Kladov
63de7bbb5b
Update crates/rust-analyzer/src/cli/analysis_stats.rs
...
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-07-29 19:56:54 +02:00
Aleksey Kladov
ba585309ec
Replace rand with oorandom
2020-07-29 19:49:10 +02:00
bors[bot]
17126b9827
Merge #5573
...
5573: Rename NomialDef -> AdtDef r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-07-29 17:40:56 +00:00