aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Fix formattingLúcás Meier2019-10-041-22/+9
| | | | |
| * | | | Create an assist for applying De Morgan's lawLúcás Meier2019-10-031-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1807 This assist can transform expressions of the form `!x || !y` into `!(x && y)`. This also works with `&&`. This assist will only trigger if the cursor is on the central logical operator. The main limitation of this current implementation is that both operands need to be an explicit negation, either of the form `!x`, or `x != y`. More operands could be accepted, but this would complicate the implementation quite a bit.
| * | | | WIP: Add demorgan application with naive negationLúcás Meier2019-10-031-0/+2
| | | | |
* | | | | Merge #1957bors[bot]2019-10-041-0/+16
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1957: Add alternative setup instruction for vim/neovim r=matklad a=Luke-Nukem Provide another option hint for vim/neovim users who do not want to run nodejs Co-authored-by: Luke Jones <[email protected]>
| * | | | | Add alternative setup instruction for vim/neovimLuke Jones2019-10-041-0/+16
| |/ / / / | | | | | | | | | | | | | | | Provide another option hint for vim/neovim users who do not want to run nodejs
* | | | | Merge #1956bors[bot]2019-10-041-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1956: don't keep history for gh-pages r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | don't keep history for gh-pagesAleksey Kladov2019-10-041-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | docs weigh a lot, and change a lot. Keeping their changes in history inflates repo size. By specifying `keep-history: false` we should be able to avoid that.
* | | | Merge #1950bors[bot]2019-10-0311-54/+242
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1950: Fix parsing of block expressions in "forbid_structs" contexts. r=kjeremy a=goffrie Forbidding block expressions entirely is too strict; instead, we should only forbid them in contexts where we are parsing an optional RHS (i.e. the RHS of a range expression). Fixes #1773. Co-authored-by: Geoffry Song <[email protected]>
| * | | Fix parsing of block expressions in "forbid_structs" contexts.Geoffry Song2019-10-0311-54/+242
|/ / / | | | | | | | | | | | | | | | Forbidding block expressions entirely is too strict; instead, we should only forbid them in contexts where we are parsing an optional RHS (i.e. the RHS of a range expression).
* | | Merge #1945bors[bot]2019-10-022-3/+72
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 1945: Handle divergence in type inference for blocks r=flodiebold a=lnicola Fixes #1944. The `infer_basics` test is failing, not sure what to do about it. Co-authored-by: Laurențiu Nicola <[email protected]>
| * | Handle divergence in type inference for blocksLaurențiu Nicola2019-10-022-3/+72
| | |
* | | Merge #1948bors[bot]2019-10-024-18/+18
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 1948: Update pico-args, flexi_logger and either r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | Update pico-argskjeremy2019-10-024-10/+10
| | |
| * | flexi_logger and eitherkjeremy2019-10-021-8/+8
|/ /
* | Merge #1938bors[bot]2019-09-301-85/+85
|\ \ | | | | | | | | | | | | | | | | | | | | | 1938: :arrow_up: deps r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | :arrow_up: depsAleksey Kladov2019-09-301-85/+85
|/ /
* | Merge #1937bors[bot]2019-09-30170-29/+413
|\ \ | | | | | | | | | | | | | | | | | | | | | 1937: Added test for check doc strings in directory crates/ r=andreevlex a=andreevlex #1856 Co-authored-by: Alexander Andreev <[email protected]>
| * | Change user message.Alexander Andreev2019-09-301-1/+1
| | |
| * | Drop debug strings.Alexander Andreev2019-09-301-5/+1
| | |
| * | Merge branch 'master' into feature/issue/1856Alexander Andreev2019-09-3053-958/+1181
| |\ \ | |/ / |/| | | | | | | | # Conflicts: # crates/ra_assists/src/ast_editor.rs
* | | Merge #1934bors[bot]2019-09-3040-660/+870
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1934: Parse Path and AttrInput in Attr r=matklad a=uHOOCCOOHu [Syntax reference](https://doc.rust-lang.org/reference/attributes.html#attributes) Co-authored-by: uHOOCCOOHu <[email protected]>
| * | | FixesuHOOCCOOHu2019-09-302-19/+8
| | | |
| * | | Fix API of AttruHOOCCOOHu2019-09-309-54/+32
| | | |
| * | | Parse correct AttrInputuHOOCCOOHu2019-09-3033-601/+844
|/ / /
* | | Merge #1936bors[bot]2019-09-3010-286/+280
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1936: cleanup editor r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | cleanup editorAleksey Kladov2019-09-302-5/+11
| | | |
| * | | remove ast_editor.rsAleksey Kladov2019-09-304-59/+16
| | | |
| * | | move remove bounds to ast/edit.rsAleksey Kladov2019-09-303-18/+16
| | | |
| * | | 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
| |