aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | move field list to ast/edit.rsAleksey Kladov2019-09-305-108/+106
| | | |
| * | | migrate add impl items to the new editing APIAleksey Kladov2019-09-284-80/+109
| | | |
| * | | simplify strip attrsAleksey Kladov2019-09-285-29/+35
|/ / /
* | | Merge #1931bors[bot]2019-09-282-5/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1931: Support the new deprecated tag r=matklad a=arsdragonfly Which is rendered as a strike-through line. Fixes #1671 . ![深度截图_选择区域_20190927162008](https://user-images.githubusercontent.com/4067473/65799714-ccb4c180-e142-11e9-8e45-ab18964605f3.png) Co-authored-by: arsdragonfly <[email protected]>
| * | | Fixarsdragonfly2019-09-281-3/+1
| | | |
| * | | Fix testsarsdragonfly2019-09-272-6/+5
| | | |
| * | | Merge branch 'master' of https://github.com/rust-analyzer/rust-analyzerarsdragonfly2019-09-2722-129/+378
| |\ \ \
| * | | | Support the new deprecated tagarsdragonfly2019-09-271-1/+20
| | | | |
* | | | | Merge #1932bors[bot]2019-09-281-6/+9
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1932: correctly reset chalk state after a panic r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | correctly reset chalk state after a panicAleksey Kladov2019-09-281-6/+9
|/ / / /
* | | | Merge #1930bors[bot]2019-09-272-3/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1930: replace horrible hack with a slightly less horrible one r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | replace horrible hack with a slightly less horrible oneAleksey Kladov2019-09-272-3/+5
|/ / / /
| | * / Added test for check doc strings in crates.Alexander Andreev2019-09-30171-29/+419
| |/ / |/| | | | | | | | #1856
* | | Merge #1815bors[bot]2019-09-2720-126/+373
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1815: Support correct `$crate` expansion in macros r=uHOOCCOOHu a=uHOOCCOOHu This PR makes normal use cases of `$crate` from macros work as expected. It makes more macros from `std` work. Type inference works well with `panic`, `unimplemented`, `format`, and maybe more. Sadly that `vec![1, 2, 3]` still not works, but it is not longer an issue about macro. Screenshot: ![Screenshot_20190927_022136](https://user-images.githubusercontent.com/14816024/65714465-b4568f80-e0cd-11e9-8043-dd44c2ae8040.png) Co-authored-by: uHOOCCOOHu <[email protected]>
| * | FixuHOOCCOOHu2019-09-272-2/+2
| | |
| * | Support `$crate` in item and expr place.uHOOCCOOHu2019-09-2614-37/+268
| | |
| * | Store crate info in `MacroDefId`uHOOCCOOHu2019-09-263-5/+11
| | |
| * | Refactor `Name` ready for hygienic macrouHOOCCOOHu2019-09-264-84/+94
| |/
* | Merge #1923bors[bot]2019-09-2611-126/+212
|\ \ | | | | | | | | | | | | | | | | | | | | | 1923: Add SubstsBuilder r=flodiebold a=flodiebold + further refactoring. Co-authored-by: Florian Diebold <[email protected]>
| * | Add SubstsBuilderFlorian Diebold2019-09-2611-126/+212
|/ / | | | | | | + further refactoring.
* | Merge #1921bors[bot]2019-09-2613-87/+114
|\ \ | |/ |/| | | | | | | | | | | 1921: WIP: start simplifying editing API r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Start simplifying editing APIAleksey Kladov2019-09-2613-87/+114
| |
* | Merge #1919bors[bot]2019-09-262-24/+45
|\| | | | | | | | | | | | | | | 1919: move diff to ra_syntax r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * move diff to ra_syntaxAleksey Kladov2019-09-262-24/+45
|/
* Merge #1918bors[bot]2019-09-269-250/+213
|\ | | | | | | | | | | | | | | 1918: keep ast creation API simple r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * keep ast creation API simpleAleksey Kladov2019-09-269-250/+213
|/
* Merge #1917bors[bot]2019-09-262-8/+2
|\ | | | | | | | | | | | | | | 1917: disable periodic GC r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * disable periodic GCAleksey Kladov2019-09-262-8/+2
| | | | | | | | | | There's hypothesis that it doesn't do anything useful now that we have LRU...
* | Merge #1823bors[bot]2019-09-266-257/+1218
|\ \ | |/ |/| | | | | | | | | | | 1823: Support type coercion r=flodiebold a=uHOOCCOOHu Co-authored-by: uHOOCCOOHu <[email protected]>
| * Support all coercion placesuHOOCCOOHu2019-09-253-96/+216
| |
| * Support custom `CoerceUnsized`uHOOCCOOHu2019-09-254-247/+476
| | | | | | | | Split out tests about coercion
| * Better handle never type and branch merginguHOOCCOOHu2019-09-255-181/+392
| | | | | | | | Split out tests for never type to another file
| * Support basic implicit type coerceuHOOCCOOHu2019-09-252-142/+383
| |
| * Support auto-deref in argument positionuHOOCCOOHu2019-09-252-1/+161
| |
* | Merge #1916bors[bot]2019-09-261-1/+1
|\ \ | |/ |/| | | | | | | | | | | 1916: Missing word r=matklad a=nicrd Co-authored-by: nicrd <[email protected]>
| * Missing wordnicrd2019-09-261-1/+1
|/
* Merge #1912bors[bot]2019-09-257-31/+121
|\ | | | | | | | | | | | | | | 1912: add new editing API, suitable for modifying several nodes at once r=viorina a=matklad r? @viorina Co-authored-by: Aleksey Kladov <[email protected]>
| * add new editing API, suitable for modifying several nodes at onceAleksey Kladov2019-09-257-31/+121
| |
* | Merge #1914bors[bot]2019-09-255-19/+78
|\ \ | | | | | | | | | | | | | | | | | | | | | 1914: Resolve trait associated items r=matklad a=flodiebold E.g. `Default::default` or `<Foo as Default>::default`. Co-authored-by: Florian Diebold <[email protected]>
| * | Resolve trait associated itemsFlorian Diebold2019-09-255-19/+78
|/ / | | | | | | E.g. `Default::default` or `<Foo as Default>::default`.
* | Merge #1913bors[bot]2019-09-254-8/+7
|\ \ | |/ |/| | | | | | | | | | | | | 1913: Fix retrieval of the Fn traits r=flodiebold a=flodiebold I used the wrong query, so it only used the lang items from the respective crate... Co-authored-by: Florian Diebold <[email protected]>
| * Fix retrieval of the Fn traitsFlorian Diebold2019-09-254-8/+7
|/ | | | | I used the wrong query, so it only used the lang items from the respective crate...
* Merge #1911bors[bot]2019-09-252-6/+6
|\ | | | | | | | | | | | | | | 1911: fewer monomorphisations r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * fewer monomorphisationsAleksey Kladov2019-09-252-6/+6
| |
* | Merge #1910bors[bot]2019-09-255-97/+84
|\ \ | | | | | | | | | | | | | | | | | | | | | 1910: Assists r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * | clean up namingAleksey Kladov2019-09-252-2/+2
| | |
| * | cleanup diagnosticsAleksey Kladov2019-09-251-4/+6
| | |
| * | shorten AstBuilder namesAleksey Kladov2019-09-255-54/+42
| | |
| * | minor builder cleanupsAleksey Kladov2019-09-253-55/+55
| | |
| * | cleaned up record field builderAleksey Kladov2019-09-252-7/+4
| | |