aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
Commit message (Collapse)AuthorAgeFilesLines
* Add fuzz failure to the fuzz-failures directoryDJMcNab2018-12-291-0/+1
|
* Fix a fuzzing bug and add Cargo.lock to the fuzzing directoryDJMcNab2018-12-293-2/+532
|
* super simplistic macro expansionAleksey Kladov2018-12-282-1/+5
|
* add macro-call nodeAleksey Kladov2018-12-282-0/+42
|
* Bump parking_lot from 0.6.4 to 0.7.0dependabot[bot]2018-12-271-1/+1
| | | | | | | | Bumps [parking_lot](https://github.com/Amanieu/parking_lot) from 0.6.4 to 0.7.0. - [Release notes](https://github.com/Amanieu/parking_lot/releases) - [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md) - [Commits](https://github.com/Amanieu/parking_lot/commits) Signed-off-by: dependabot[bot] <[email protected]>
*-. Merge #343 #344bors[bot]2018-12-271-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 343: Bump arrayvec from 0.4.9 to 0.4.10 r=matklad a=dependabot[bot] Bumps [arrayvec](https://github.com/bluss/arrayvec) from 0.4.9 to 0.4.10. <details> <summary>Commits</summary> - [`21661fa`](https://github.com/bluss/arrayvec/commit/21661facf8f5d65b4bd6701e48d218eb957314fa) 0.4.10 - [`06930d2`](https://github.com/bluss/arrayvec/commit/06930d27ce8e292755754b1e09901fb36cd46919) FIX: Remove unused Copy/Clone for MaybeUninit - [`85d9a06`](https://github.com/bluss/arrayvec/commit/85d9a06a62d73776b2fe7786e2d50e2833384331) FIX: Use repr(C) MaybeUninit after discussion with RalfJung - See full diff in [compare view](https://github.com/bluss/arrayvec/compare/0.4.9...0.4.10) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=arrayvec&package-manager=cargo&previous-version=0.4.9&new-version=0.4.10)](https://dependabot.com/compatibility-score.html?dependency-name=arrayvec&package-manager=cargo&previous-version=0.4.9&new-version=0.4.10) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- **Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit. You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com). <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> 344: Bump itertools from 0.7.11 to 0.8.0 r=matklad a=dependabot[bot] Bumps [itertools](https://github.com/bluss/rust-itertools) from 0.7.11 to 0.8.0. <details> <summary>Commits</summary> - [`cd0602a`](https://github.com/bluss/rust-itertools/commit/cd0602addc43bfb0d2335e5c0034a89bcbb0f326) 0.8.0 - [`5a8f2fd`](https://github.com/bluss/rust-itertools/commit/5a8f2fd5edbc62eea8a877180eaec171f05f66d3) MAINT: Require Rust 1.24 as minimum version - [`4986d92`](https://github.com/bluss/rust-itertools/commit/4986d92d7f6fb128afe8c9228ccdb443f4bc1537) DOC: Minor edits to module docs - [`01f15a0`](https://github.com/bluss/rust-itertools/commit/01f15a0910e3c843df15958f5b0296708286d4ee) Merge [#288](https://github-redirect.dependabot.com/bluss/rust-itertools/issues/288) - [`883d40a`](https://github.com/bluss/rust-itertools/commit/883d40a6efcf0451dab0a9cd006ab7de18be8de2) map_into method - [`3bf265d`](https://github.com/bluss/rust-itertools/commit/3bf265d5b7e991b63b174b2e091659e8ee54b4c4) Merge pull request [#321](https://github-redirect.dependabot.com/bluss/rust-itertools/issues/321) from JohnHeitmann/master - [`e820996`](https://github.com/bluss/rust-itertools/commit/e820996f6409c5615c9dd61d1865e48a7a2ad520) Document the trait extension behavior of Itertools a bit more clearly - [`44c9654`](https://github.com/bluss/rust-itertools/commit/44c9654fdb3653389ddd57048363808de9737381) Merge pull request [#318](https://github-redirect.dependabot.com/bluss/rust-itertools/issues/318) from bluss/std-deprecations - [`d2e254f`](https://github.com/bluss/rust-itertools/commit/d2e254f22fe3bd962c38ab1db8d9f6c162dbf81c) API: Fix the mystery deprecation message for Step - [`602f2f6`](https://github.com/bluss/rust-itertools/commit/602f2f675ea87c0860d9161cbfdc98d09911cde7) API: Deprecate .foreach() in favour of std's .for_each() - Additional commits viewable in [compare view](https://github.com/bluss/rust-itertools/compare/0.7.11...0.8.0) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=itertools&package-manager=cargo&previous-version=0.7.11&new-version=0.8.0)](https://dependabot.com/compatibility-score.html?dependency-name=itertools&package-manager=cargo&previous-version=0.7.11&new-version=0.8.0) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- **Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit. You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com). <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> Co-authored-by: dependabot[bot] <[email protected]>
| | * Bump itertools from 0.7.11 to 0.8.0dependabot[bot]2018-12-271-1/+1
| |/ |/| | | | | | | | | | | Bumps [itertools](https://github.com/bluss/rust-itertools) from 0.7.11 to 0.8.0. - [Release notes](https://github.com/bluss/rust-itertools/releases) - [Commits](https://github.com/bluss/rust-itertools/compare/0.7.11...0.8.0) Signed-off-by: dependabot[bot] <[email protected]>
| * Bump arrayvec from 0.4.9 to 0.4.10dependabot[bot]2018-12-271-1/+1
|/ | | | | | | Bumps [arrayvec](https://github.com/bluss/arrayvec) from 0.4.9 to 0.4.10. - [Release notes](https://github.com/bluss/arrayvec/releases) - [Commits](https://github.com/bluss/arrayvec/compare/0.4.9...0.4.10) Signed-off-by: dependabot[bot] <[email protected]>
* fix suffix rangesAleksey Kladov2018-12-276-4/+95
|
* dump validation errorsAleksey Kladov2018-12-271-2/+5
|
* support literal suffixesAleksey Kladov2018-12-277-2/+40
|
* dedupe literal parsersAleksey Kladov2018-12-2710-374/+220
|
* Add a hir::TypeRef as an intermediate between ast::TypeRef and ty::TyFlorian Diebold2018-12-252-10/+38
|
* Implement reference / pointer typesFlorian Diebold2018-12-253-6/+57
| | | | | - parse them - infer types of & and * expressions
* Implement basic completion for fieldsFlorian Diebold2018-12-252-1/+5
|
* Improve parsing of incomplete field accesses in preparation for field completionFlorian Diebold2018-12-253-9/+45
| | | | | We need to be able to get the receiver even if there is no field name yet, and currently "a." wouldn't get parsed as a field name at all. This seems to help.
* Type field accessesFlorian Diebold2018-12-252-2/+10
|
* Add AST definitions for struct/variant fields etc.Florian Diebold2018-12-253-12/+256
| | | | Fixes #117
* Infer result of struct literals, and recurse into their child expressionsFlorian Diebold2018-12-252-6/+26
|
* Resolve paths to defs (functions currently) during type inferenceFlorian Diebold2018-12-232-2/+6
|
* Make let statements kind of workFlorian Diebold2018-12-232-0/+5
|
* CleanupFlorian Diebold2018-12-231-25/+31
|
* Add testing infrastructure for type inferenceFlorian Diebold2018-12-231-100/+5
| | | | - move dir_tests to test_utils for that.
* Parse integer / float typesFlorian Diebold2018-12-232-2/+6
|
* Add beginnings of type infrastructureFlorian Diebold2018-12-232-13/+45
|
* Merge #316bors[bot]2018-12-211-1/+1
|\ | | | | | | | | | | | | | | 316: Fix handling of nested self in paths r=matklad a=DJMcNab See https://github.com/rust-analyzer/rust-analyzer/issues/231#issuecomment-442449505. Co-authored-by: DJMcNab <[email protected]>
| * Fix handling of nested self in pathsDJMcNab2018-12-211-1/+1
| |
* | Remove TODO on self_hosting_parsingDJMcNab2018-12-211-8/+4
| | | | | | | | | | | | This improving this code is not a good use of people-time, and this might be the most performant approach nonwithstanding an api for this use case being added to walkdir
* | Remove uneeded todo in lexerDJMcNab2018-12-211-1/+1
|/
* Fix where clauses using fully qualified path syntaxDJMcNab2018-12-215-9/+139
|
* show debug repr of literalsAleksey Kladov2018-12-214-4/+4
|
* Add comment about the source of the weird_exprs testDJMcNab2018-12-212-2235/+2248
|
* Add weird_exprs testDJMcNab2018-12-202-0/+2385
|
* Fix parsing of contextual_keyword unionDJMcNab2018-12-201-1/+1
|
* Run gen-testsDJMcNab2018-12-202-0/+59
|
* Use a better way of skipping SEMIsDJMcNab2018-12-201-6/+6
|
* Support a blank expression before a semicolonDJMcNab2018-12-201-0/+6
|
* Fix the tests and fix the precommit hookDJMcNab2018-12-20252-556/+204
|
* Fix missing DOTDOTEQsDJMcNab2018-12-201-3/+3
|
* Don't require a command before EQ in a where clauseDJMcNab2018-12-201-1/+1
|
* Change parser tests dir to inline/ok and inline/errDJMcNab2018-12-201-2/+2
|
* Ensure that the parser tests pass or fail correctlyDJMcNab2018-12-201-8/+26
|
* Simplify NO_BLOCK testingDJMcNab2018-12-202-11/+3
|
* Fix ambiguity with if breakDJMcNab2018-12-204-5/+92
| | | | Brought up by #290
* Add tests and only traverse in the crates directoryDJMcNab2018-12-197-94/+185
|
* Move is_block to lower in the call treeDJMcNab2018-12-194-115/+104
|
* Revert "Revert to f6f7c5"DJMcNab2018-12-193-22/+36
| | | | | | This approach is correct, but it needs an addition to Restrictions too This reverts commit ad00d0c8a5f64142e6636e8b048204c8f8982f4a.
* Fix handling of structs in match armsDJMcNab2018-12-191-1/+1
|
* Revert to f6f7c5DJMcNab2018-12-193-36/+22
|
* Fix expression parsing by bailing out upon a macro block being foundDJMcNab2018-12-192-17/+12
| | | | | | TODO: Fix this when the block like macro is in expression position E.g. `test(test!{})` currently parses