aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Add proper test for literals and fixed typo bugEdwin Cheng2019-04-053-5/+51
|
* Add classify_literal and undo expose next_tokenEdwin Cheng2019-04-055-8/+15
|
* Fix literal support in token tree to ast item listEdwin Cheng2019-04-054-4/+45
|
* Clean upEdwin Cheng2019-04-041-29/+29
|
* Add multi-byte token support in tkn tree to astEdwin Cheng2019-04-042-20/+138
|
* Make robust about target directorypcpthm2019-04-041-4/+1
|
* Merge #1106bors[bot]2019-04-041-1/+1
|\ | | | | | | | | | | | | | | 1106: :arrow_up: salsa r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: salsaAleksey Kladov2019-04-041-1/+1
| |
* | Merge #1101bors[bot]2019-04-035-6/+95
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1101: Parse unsafe async / const unsafe fns properly r=matklad a=robojumper Also adds tests that `unsafe async fn` as well as `const unsafe fn` parse properly and that these keywords in the reversed order cause parse errors. [Playground link to verify that this is the correct order.](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=7850b8d92579de31c38f835f76afa4ce) Closes #1086. Co-authored-by: robojumper <[email protected]>
| * | Parse unsafe async / const unsafe fns properlyrobojumper2019-04-035-6/+95
| | |
* | | Merge #1098bors[bot]2019-04-031-1/+46
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 1098: added some docs to public functions r=matklad a=pasa some docs for #961 Co-authored-by: Sergey Parilin <[email protected]>
| * | added some docs to public functionsSergey Parilin2019-04-031-1/+46
| | |
* | | Merge #1068bors[bot]2019-04-039-10/+183
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1068: profiling crate first draft r=matklad a=pasa I've made this first draft for #961 Could you look at it? Is this something what you are looking for? It has lack of tests. I can't figure out how to test stderr output in rust right now. Do you have some clues? Additionally I'm thinking about to implement procedural macros to annotate methods with this profiler. Will it be helpful? Co-authored-by: Sergey Parilin <[email protected]>
| * | Merge remote-tracking branch 'upstream/master' into issue961_profilingSergey Parilin2019-04-0249-1097/+1873
| |\ \
| * | | PR issuse resolvedSergey Parilin2019-04-028-10/+27
| | | |
| * | | some PR issues fixedSergey Parilin2019-03-291-82/+68
| | | |
| * | | profiling crate first draftSergey Parilin2019-03-272-0/+170
| | | |
* | | | Merge #1076bors[bot]2019-04-0210-49/+231
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 1076: Const body inference r=flodiebold a=Lapz This is the second part of #887. I've added type inference on const bodies and introduced the DefWithBody containing Function, Const and Static. I want to add tests but im unsure on how I would go about testing that completions work. Co-authored-by: Lenard Pratt <[email protected]>
| * | | made ExprCollector pub(crate) and movedLenard Pratt2019-04-022-14/+11
| | | | | | | | | | | | | | | | collect_fn_body_syntax
| * | | Added const bodies and static body to the astLenard Pratt2019-04-0210-91/+180
| | | | | | | | | | | | | | | | | | | | | | | | and added inference the inference test reduce code duplication
| * | | Added defWithBodyLenard Pratt2019-03-307-24/+120
| | |/ | |/|
* | | Merge #1093bors[bot]2019-04-027-400/+336
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1093: simplify r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | simplifyAleksey Kladov2019-04-027-400/+336
| | | |
* | | | always produce source for importAleksey Kladov2019-04-026-29/+70
|/ / /
* | | Merge #1090bors[bot]2019-04-02221-8921/+8921
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1090: always show token text r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | always show token textAleksey Kladov2019-04-02221-8921/+8921
| | | |
* | | | fix inner block doc commentsAleksey Kladov2019-04-021-1/+1
|/ / /
* | | fix a panic with glob-import missing a source mapAleksey Kladov2019-04-025-23/+26
| | |
* | | add minimal commentsAleksey Kladov2019-04-025-0/+13
| | |
* | | rename flavor to kindAleksey Kladov2019-04-026-53/+53
| | |
* | | move extensions to submodulesAleksey Kladov2019-04-023-549/+566
| | |
* | | remove flavorAleksey Kladov2019-04-023-10/+10
| | |
* | | More future-proof comment kindAleksey Kladov2019-04-024-36/+58
| | |
* | | fix comment namingAleksey Kladov2019-04-022-13/+15
| | |
* | | allow empty doc commentsAleksey Kladov2019-04-021-4/+6
| | |
* | | add ast::tokensAleksey Kladov2019-04-0210-119/+124
| | |
* | | simplifyAleksey Kladov2019-04-021-23/+19
| | |
* | | move ast traits to a separate fileAleksey Kladov2019-04-022-144/+155
| | |
* | | Merge #1084bors[bot]2019-04-013-37/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1084: remove dead code r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | remove dead codeAleksey Kladov2019-04-013-37/+0
| | | |
* | | | intelligently add parens when inlining local varaiblesgfreezy2019-04-015-45/+402
|/ / /
* | | Merge #1082bors[bot]2019-04-013-0/+96
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1082: Async block in argument position r=matklad a=andreytkachenko Fixes case when async block appears in argument position Co-authored-by: Andrey Tkachenko <[email protected]>
| * | | Async block in argument positionAndrey Tkachenko2019-04-013-0/+96
| | | |
* | | | Merge #1067bors[bot]2019-04-011-6/+28
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1067: Take number of arguments at the call-site into account for signature help r=matklad a=kjeremy Fixes #1065 Co-authored-by: kjeremy <[email protected]>
| * | | | Simplifykjeremy2019-03-271-13/+14
| | | | |
| * | | | Take number of arguments at the call-site into account for signature helpkjeremy2019-03-271-1/+22
| | | | | | | | | | | | | | | | | | | | Fixes #1065
* | | | | Merge #1081bors[bot]2019-04-014-9/+66
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1081: Async closure syntax r=matklad a=robojumper Fixes #1080. Also fixes an error introduced by #1072 where something like `async move "foo"` in expression position would trigger the assertion in `block_expr`. Co-authored-by: robojumper <[email protected]>
| * | | | Async closure syntaxrobojumper2019-03-314-9/+66
| | | | |
* | | | | switch to new rowanAleksey Kladov2019-04-0149-1220/+1019
|/ / / /
* | | | Add WherePred to allow predicate access in WhereClauseVille Penttinen2019-03-315-8/+132
| | | | | | | | | | | | | | | | | | | | This also unifies parsing of WHERE_PRED bounds, now Lifetime bounds will also be parsed using TYPE_BOUND_LIST