aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Parse unsafe async / const unsafe fns properlyrobojumper2019-04-035-6/+95
|
* 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
* | | | Merge #1072bors[bot]2019-03-314-3/+43
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1072: recognize async move blocks r=matklad a=memoryruins closes #1053 Co-authored-by: memoryruins <[email protected]>
| * | | | add test for async blocksmemoryruins2019-03-282-0/+40
| | | | |
| * | | | recognize async movememoryruins2019-03-282-3/+3
| | |/ / | |/| |
* | | | Add trait ast::TypeBoundsOwnerVille Penttinen2019-03-313-5/+21
| | | |
* | | | Update testsVille Penttinen2019-03-313-67/+115
| | | |
* | | | Change parsing bounds in path_typesVille Penttinen2019-03-312-11/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now bounds inside a path are parsed as DYN_TRAIT_TYPE, previously they would be parsed as `PATH_TYPE` followed by `TYPE_BOUND_LIST`. Basically this means `Box<T + 'f>` is now parsed almost the same as `Box<dyn T + 'f>` with the exception of not having the `dyn` keyword.
* | | | Move parsing a single TYPE_BOUND to a separate functionVille Penttinen2019-03-301-19/+26
| | | |
* | | | Update testsVille Penttinen2019-03-3025-418/+634
| | | |
* | | | Add new TYPE_BOUND_LIST and TYPE_BOUND syntax kindsVille Penttinen2019-03-305-2/+95
| | | | | | | | | | | | | | | | | | | | | | | | These are now used when parsing type bounds. In addition parsing paths inside a bound now does not recursively parse paths, rather they are treated as separate bounds, separated by +.
* | | | Fix parsing <= in type_argsVille Penttinen2019-03-304-6/+29
|/ / /
* | | Add tests to ra_syntax for extern_crate_selfmemoryruins2019-03-282-1/+17
| | |