Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #3047 | bors[bot] | 2020-02-07 | 1 | -9/+9 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 3047: Update async unsafe fn ordering in parser r=matklad a=kiljacken As of rust-lang/rust#61319 the correct order for functions that are both unsafe and async is: `async unsafe fn` and not `unsafe async fn`. This commit updates the parser tests to reflect this, and corrects parsing behavior to accept the correct ordering. Fixes #3025 Co-authored-by: Emil Lauridsen <[email protected]> | ||||
| * | Update async unsafe fn ordering. | Emil Lauridsen | 2020-02-07 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | As of rust-lang/rust#61319 the correct order for functions that are both unsafe and async is: `async unsafe fn` and not `unsafe async fn`. This commit updates the parser tests to reflect this, and corrects parsing behavior to accept the correct ordering. Fixes #3025 | ||||
* | | PR tweaks | Toby Dimmick | 2020-02-07 | 1 | -1/+1 |
| | | |||||
* | | Rework value parameter parsing | Toby Dimmick | 2020-02-06 | 1 | -6/+3 |
|/ | | | | | | | - `Fn__(...)` parameters with idents/patterns no longer parse - Trait function parameters with arbitrary patterns parse - Trait function parameters without idents/patterns no longer parse - `fn(...)` parameters no longer parse with patterns other than a single ident | ||||
* | Use name instead of ident for macro 2.0 sytnax | Edwin Cheng | 2019-12-22 | 1 | -1/+1 |
| | |||||
* | Add macro keyword to ITEM_RECOVERY_SET | Edwin Cheng | 2019-12-21 | 1 | -1/+1 |
| | |||||
* | Add macro 2.0 support in parser | Edwin Cheng | 2019-12-21 | 1 | -0/+28 |
| | |||||
* | Fix hir for ast::UnionDef | Aleksey Kladov | 2019-11-25 | 1 | -1/+1 |
| | |||||
* | Introduce dedicated AST node for union | Aleksey Kladov | 2019-11-25 | 1 | -5/+5 |
| | | | | | | | | | | Although structs and unions have the same syntax and differ only in the keyword, re-using the single syntax node for both of them leads to confusion in practice, and propagates further down the hir in an upleasent way. Moreover, static and consts also share syntax, but we use different nodes for them. | ||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | Replace usages of bump_any with bump | kjeremy | 2019-09-19 | 1 | -9/+9 |
| | |||||
* | Allow an underscore as the identifier in `const` items | Dylan MacKenzie | 2019-09-15 | 1 | -1/+1 |
| | |||||
* | WIP: switch to fully decomposed tokens internally | Aleksey Kladov | 2019-09-10 | 1 | -1/+1 |
| | |||||
* | rename bump -> bump_any | Aleksey Kladov | 2019-09-09 | 1 | -10/+10 |
| | |||||
* | better error recovery for use trees | Aleksey Kladov | 2019-09-05 | 1 | -1/+1 |
| | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 1 | -2/+2 |
| | |||||
* | Fix is_path_start to accept T![<], fix is_path_start usages | Evgenii P | 2019-08-13 | 1 | -2/+2 |
| | |||||
* | Move numeric names inside of `NameRef` | Aleksey Kladov | 2019-08-09 | 1 | -1/+1 |
| | |||||
* | Make name_ref to accept numeric names optionally | Evgenii P | 2019-08-09 | 1 | -1/+1 |
| | |||||
* | fixed #1384 | zjy | 2019-06-28 | 1 | -7/+9 |
| | |||||
* | fix: specialization(with blindly parsing) | csmoe | 2019-06-19 | 1 | -1/+28 |
| | | | | Change-Id: Ic5d2767e8781568d76d4d0013cd6081e95ae8a95 | ||||
* | fix: support existential type | csmoe | 2019-06-12 | 1 | -3/+13 |
| | |||||
* | reformat | Aleksey Kladov | 2019-05-23 | 1 | -2/+2 |
| | |||||
* | apply T! macro where it is possible | Sergey Parilin | 2019-05-15 | 1 | -57/+57 |
| | |||||
* | Refactor parser handle mult-char punct internally | Edwin Cheng | 2019-04-28 | 1 | -1/+1 |
| | |||||
* | Parse unsafe async / const unsafe fns properly | robojumper | 2019-04-03 | 1 | -6/+17 |
| | |||||
* | Async closure syntax | robojumper | 2019-03-31 | 1 | -1/+1 |
| | |||||
* | recognize async move | memoryruins | 2019-03-28 | 1 | -1/+1 |
| | |||||
* | Use Marker argument for item parsers | pcpthm | 2019-03-18 | 1 | -53/+40 |
| | | | | | - Fix pub_expr - Fix incorrect parsing of crate::path | ||||
* | Apply stylistic changes suggested | pcpthm | 2019-03-18 | 1 | -13/+10 |
| | |||||
* | Refactor maybe_item to use Marker argument | pcpthm | 2019-03-17 | 1 | -47/+42 |
| | |||||
* | Add test for async block | Caio | 2019-03-10 | 1 | -1/+2 |
| | |||||
* | Add async keyword | Caio | 2019-03-09 | 1 | -1/+9 |
| | |||||
* | rename type to type_alias in the AST as well | Aleksey Kladov | 2019-02-25 | 1 | -1/+1 |
| | |||||
* | move parser to a separate crate | Aleksey Kladov | 2019-02-21 | 1 | -0/+392 |