aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * 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]>
| | * | | cargo_metadata 0.11.1 and cargo updatekjeremy2020-07-294-12/+11
| |/ / /
| * | | Merge #5574bors[bot]2020-07-297-98/+44
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5574: Replace rand with oorandom r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| | * | | Update crates/rust-analyzer/src/cli/analysis_stats.rsAleksey Kladov2020-07-291-1/+1
| | | | | | | | | | | | | | | Co-authored-by: Laurențiu Nicola <[email protected]>
| | * | | Replace rand with oorandomAleksey Kladov2020-07-297-98/+44
| | | | |
| * | | | Merge #5573bors[bot]2020-07-295-28/+28
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5573: Rename NomialDef -> AdtDef r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| | * | | Rename NomialDef -> AdtDefAleksey Kladov2020-07-295-28/+28
| | | | |
| * | | | Merge #5572bors[bot]2020-07-299-4192/+1591
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5572: Switch to ungrammar from ast_src r=matklad a=matklad The primary advantage of ungrammar is that it (eventually) allows one to describe concrete syntax tree structure -- with alternatives and specific sequence of tokens & nodes. That should be re-usable for: * generate `make` calls * Rust reference * Hypothetical parser's evented API We loose doc comments for the time being unfortunately. I don't think we should add support for doc comments to ungrammar -- they'll make grammar file hard to read. We might supply docs as out-of band info, or maybe just via a reference, but we'll think about that once things are no longer in flux bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| | * | | Switch to ungrammar from ast_srcAleksey Kladov2020-07-299-4192/+1591
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The primary advantage of ungrammar is that it (eventually) allows one to describe concrete syntax tree structure -- with alternatives and specific sequence of tokens & nodes. That should be re-usable for: * generate `make` calls * Rust reference * Hypothetical parser's evented API We loose doc comments for the time being unfortunately. I don't think we should add support for doc comments to ungrammar -- they'll make grammar file hard to read. We might supply docs as out-of band info, or maybe just via a reference, but we'll think about that once things are no longer in flux
| * | | Merge #5570bors[bot]2020-07-292-49/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5570: Dead code r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| | * | | Dead codeAleksey Kladov2020-07-292-49/+0
| |/ / /
| * | | Merge #5569bors[bot]2020-07-292-4/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5569: Remove dead code r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| | * | | Remove dead codeAleksey Kladov2020-07-292-4/+1
| |/ / /
| * | | Merge #5568bors[bot]2020-07-292-54/+0
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5568: Remove dead code r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| | * | Remove dead codeAleksey Kladov2020-07-292-54/+0
| |/ /
| * | Merge #5566bors[bot]2020-07-292-1925/+1934
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5566: Owned AST IR r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| | * | Owned AST IRAleksey Kladov2020-07-292-1925/+1934
| | | |
| * | | Merge #5564bors[bot]2020-07-2911-55/+186
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 5564: SSR: Restrict to current selection if any r=davidlattimore a=davidlattimore The selection is also used to avoid unnecessary work, but only to the file level. Further restricting unnecessary work is left for later. Co-authored-by: David Lattimore <[email protected]>
| | * | SSR: Rename position and lookup_context to resolve_contextDavid Lattimore2020-07-292-6/+6
| | | |
| | * | SSR: Restrict to current selection if anyDavid Lattimore2020-07-2910-50/+181
| | | | | | | | | | | | | | | | | | | | The selection is also used to avoid unnecessary work, but only to the file level. Further restricting unnecessary work is left for later.
| * | | Merge #5565bors[bot]2020-07-292-1/+62
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5565: SSR: Don't mix non-path-based rules with path-based r=matklad a=davidlattimore If any rules contain paths, then we reject any rules that don't contain paths. Allowing a mix leads to strange semantics, since the path-based rules only match things where the path refers to semantically the same thing, whereas the non-path-based rules could match anything. Specifically, if we have a rule like `foo ==>> bar` we only want to match the `foo` that is in the current scope, not any `foo`. However "foo" can be parsed as a pattern (BIND_PAT -> NAME -> IDENT). Allowing such a rule through would result in renaming everything called `foo` to `bar`. It'd also be slow, since without a path, we'd have to use the slow-scan search mechanism. Co-authored-by: David Lattimore <[email protected]>
| | * | | SSR: Don't mix non-path-based rules with path-basedDavid Lattimore2020-07-292-1/+62
| | |/ / | | | | | | | | | | | | If any rules contain paths, then we reject any rules that don't contain paths. Allowing a mix leads to strange semantics, since the path-based rules only match things where the path refers to semantically the same thing, whereas the non-path-based rules could match anything. Specifically, if we have a rule like `foo ==>> bar` we only want to match the `foo` that is in the current scope, not any `foo`. However "foo" can be parsed as a pattern (BIND_PAT -> NAME -> IDENT). Allowing such a rule through would result in renaming everything called `foo` to `bar`. It'd also be slow, since without a path, we'd have to use the slow-scan search mechanism.
| * | | Merge #5561bors[bot]2020-07-291-54/+110
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5561: Allow running more tests at once via the module runners r=matklad a=SomeoneToIgnore Sometimes I group tests into submodules located in the root `#[cfg(test)]` crate and want to (re)run them all at once. This PR adds more test runnables to allow running all tests in the file via a module runner. Not all possible module runners are added, to avoid displaying too many code lens. before: <img width="306" alt="before" src="https://user-images.githubusercontent.com/2690773/88724886-e4c6ea00-d133-11ea-9d80-082bb610d422.png"> after (`nested_tests_0` got the runnable, `root_tests` had not): <img width="300" alt="after" src="https://user-images.githubusercontent.com/2690773/88724896-e85a7100-d133-11ea-99ee-689126679cbc.png"> Co-authored-by: Kirill Bulatov <[email protected]>
| | * | Allow running more tests at onceKirill Bulatov2020-07-281-54/+110
| |/ /
| * | Merge #5560bors[bot]2020-07-283-7/+8
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5560: Fix nameref parsing r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| | * | Fix nameref parsingAleksey Kladov2020-07-283-7/+8
| |/ /
| * | Merge #5555bors[bot]2020-07-281-1/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5555: Bump test timeout for macs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| | * | Bump test timeout for macsAleksey Kladov2020-07-281-1/+2
| |/ /
| * | Merge #5547bors[bot]2020-07-271-1/+13
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5547: Fold multiline fn parameters r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| | * | Fold multiline fn parametersAleksey Kladov2020-07-271-1/+13
| | | |