aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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-303-3/+23
| | | | | | This commit adds the option `rust-analyzer.checkOnSave.noDefaultFeatures` and fixes #5550.
* 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-3018-42/+43
| |
| * Add comma list to use treeAleksey Kladov2020-07-303-89/+126
| |
* | Merge #5586bors[bot]2020-07-301-8/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | 5586: Add workaround for changing sysroot paths r=jonas-schievink a=lnicola Fixes #5577 Co-authored-by: Laurențiu Nicola <[email protected]>
| * | Add workaround for changing sysroot pathsLaurențiu Nicola2020-07-301-8/+34
| | |
* | | Merge #5587bors[bot]2020-07-3040-184/+222
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | 5587: Finish use grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Update testsAleksey Kladov2020-07-3021-54/+54
| | |
| * | Rename UseItem -> UseAleksey Kladov2020-07-3018-42/+43
| | |
| * | Add comma list to use treeAleksey Kladov2020-07-303-89/+126
| |/
* | Merge #5567bors[bot]2020-07-302-20/+111
|\ \ | |/ |/| | | | | | | | | | | | | | | 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 <[email protected]>
| * SSR: Wrap placeholder expansions in parenthesis when necessaryDavid Lattimore2020-07-302-20/+111
| | | | | | | | | | | | | | | | | | 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.
* | Merge #5585bors[bot]2020-07-3011-80/+80
|\ \ | |/ |/| | | | | | | | | | | | | 5585: Finish extern crate grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Update testsAleksey Kladov2020-07-303-5/+5
| |
| * Finish extern crates grammarAleksey Kladov2020-07-308-75/+75
|/
* Merge #5584bors[bot]2020-07-301-1/+1
|\ | | | | | | | | | | | | | | | | | | | | 5584: Rename metric r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Rename metricAleksey Kladov2020-07-301-1/+1
| |
* | Merge #5583bors[bot]2020-07-3014-30/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 5583: Rename Rename r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Update testsAleksey Kladov2020-07-304-11/+15
| | |
| * | Rename RenameAleksey Kladov2020-07-3011-20/+20
| | |
* | | Merge #5582bors[bot]2020-07-3047-129/+172
|\| | | |/ |/| | | | | | | | | | | | | | | | | 5582: Finish Module grammar r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Finish Module grammarAleksey Kladov2020-07-302-1/+2
| |
| * Update testsAleksey Kladov2020-07-3033-40/+40
| |
| * Split ItemList & AssocItemListAleksey Kladov2020-07-3014-89/+131
|/
* Merge #5581bors[bot]2020-07-305-20/+125
|\ | | | | | | | | | | | | | | | | 5581: Measure instructions in addition to time r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * FixesAleksey Kladov2020-07-301-11/+1
| |
| * Fix non-linux compilationAleksey Kladov2020-07-302-6/+25
| |
| * Do not show progress with parallel analysisAleksey Kladov2020-07-301-0/+1
| |
| * Report instructions in addition to timeAleksey Kladov2020-07-305-20/+115
| | | | | | | | They hopefully will be more stable on CI
* | Merge #5580bors[bot]2020-07-301-1/+1
|\| | | | | | | | | | | | | | | | | | | | | 5580: fix cast r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * fix castAleksey Kladov2020-07-301-1/+1
|/
* Merge #5579bors[bot]2020-07-302-26/+25
|\ | | | | | | | | | | | | | | | | | | | | | | | | 5579: Allow negative bytes r=matklad a=matklad Gotta be optimistic about those memory usage optimizations bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Allow negative bytesAleksey Kladov2020-07-302-23/+23
| | | | | | | | Gotta be optimistic about those memory usage optimizations
| * Drop resident from memory usageAleksey Kladov2020-07-301-4/+3
|/
* Merge pull request #5575 from Veetaha/feat/remove-ci-workaround-for-perms-errorsAleksey Kladov2020-07-301-5/+0
|\ | | | | Remove the premissions-misconifguration bug workarounds on CI
| * Remove the premissions-misconifguration bug workarounds on CIVeetaha2020-07-291-5/+0
| |
* | Merge #5578bors[bot]2020-07-2919-485/+481
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5578: Rename ModuleItem -> Item r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Finish SourceFile grammarAleksey Kladov2020-07-294-3/+6
| | |
| * | Rename ModuleItem -> ItemAleksey Kladov2020-07-2917-482/+475
| | |
* | | Merge #5554bors[bot]2020-07-291-9/+85
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * | | Addressed code reviewpetr-tik2020-07-291-27/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Fixed #5129petr-tik2020-07-271-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Make all test fn names consistent in remove_dbgpetr-tik2020-07-271-3/+29
| | | |
| * | | Added failing testspetr-tik2020-07-271-0/+21
| | | |
* | | | Merge #5563bors[bot]2020-07-292-6/+7
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * | | Run package-specific cargo check and test for all targetsKirill Bulatov2020-07-292-6/+7
| | | |
* | | | Merge #5576bors[bot]2020-07-294-12/+11
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 5576: cargo_metadata 0.11.1 and cargo update r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]>