aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* minorAleksey Kladov2019-09-062-49/+51
|
* Merge #1777bors[bot]2019-09-061-15/+15
|\ | | | | | | | | | | | | | | 1777: :arrow_up: deps r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: depsAleksey Kladov2019-09-061-15/+15
|/
* Merge #1772bors[bot]2019-09-051-1/+1
|\ | | | | | | | | | | | | | | 1772: switch to rustc_lexer crate r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * switch to rustc_lexer crateAleksey Kladov2019-09-051-1/+1
| |
* | Merge #1771bors[bot]2019-09-053-18/+91
|\ \ | |/ |/| | | | | | | | | | | | | | | | | 1771: Further tweak for macro_use on extern crate r=matklad a=uHOOCCOOHu Some more tweaks to #1743 to behave more like `rustc` 1. Hoist macros from `#[macro_use] extern crate`, so that they can be used before `extern crate`. 2. Implicit `#[macro_use]` for `prelude` if exists Co-authored-by: uHOOCCOOHu <[email protected]>
| * Hoist macros from extern crate with macro_useuHOOCCOOHu2019-09-052-14/+20
| |
| * Consider prelude to be `macro_use`uHOOCCOOHu2019-09-053-4/+71
| |
* | Merge #1770bors[bot]2019-09-055-184/+191
|\ \ | | | | | | | | | | | | | | | | | | | | | 1770: rename test file to match impl file r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | rename test file to match impl fileAleksey Kladov2019-09-052-1/+1
| | |
| * | move mod resolution to a separate fileAleksey Kladov2019-09-053-183/+190
| | |
* | | Merge #1769bors[bot]2019-09-053-80/+92
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1769: fix renaming of modules r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | fix renaming of modulesAleksey Kladov2019-09-053-80/+92
|/ / /
* | | Merge #1767bors[bot]2019-09-055-3/+65
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 1767: better error recovery for use trees r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | better error recovery for use treesAleksey Kladov2019-09-055-3/+65
|/ /
* | Merge #1766bors[bot]2019-09-052-357/+358
|\ \ | | | | | | | | | | | | | | | | | | | | | 1766: always use \n newlines r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | always use \n newlinesAleksey Kladov2019-09-052-357/+358
| | |
* | | Merge #1764bors[bot]2019-09-051-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1764: close #1763 r=matklad a=ivfranco Close #1763 for now Co-authored-by: ivfranco <[email protected]>
| * | | close #1763ivfranco2019-09-051-1/+1
| | | |
* | | | Merge #1765bors[bot]2019-09-051-63/+54
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 1765: cargo update r=kjeremy a=kjeremy Removes extra `crossbeam-deque` version Co-authored-by: kjeremy <[email protected]>
| * | | cargo updatekjeremy2019-09-051-63/+54
|/ / /
* | | Merge #1761bors[bot]2019-09-054-0/+177
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 1761: "move type bounds to where clause" assist r=matklad a=viorina Co-authored-by: Ekaterina Babshukova <[email protected]>
| * | add assist to move type bounds to where clauseEkaterina Babshukova2019-09-054-0/+177
| |/
* | Merge #1743bors[bot]2019-09-057-12/+119
|\ \ | |/ |/| | | | | | | | | | | 1743: Support `#[macro_use]` on `extern crate` r=matklad a=uHOOCCOOHu Unfortunately, #1688 is still an issue. My guess is wrong :( Co-authored-by: uHOOCCOOHu <[email protected]>
| * Fix typouHOOCCOOHu2019-09-051-2/+2
| |
| * Let `macro_use` bypass module scopeuHOOCCOOHu2019-09-052-35/+52
| |
| * Fix import strategy of `macro_use` and its testuHOOCCOOHu2019-09-024-9/+26
| |
| * Add testuHOOCCOOHu2019-08-311-5/+50
| |
| * Support resolution of `#[macro_use] extern crate`uHOOCCOOHu2019-08-314-2/+30
| |
* | Merge #1760bors[bot]2019-09-041-5/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | 1760: Upgrade Chalk r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
| * | Upgrade ChalkFlorian Diebold2019-09-041-5/+5
|/ /
* | Merge #1758bors[bot]2019-09-033-4/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | 1758: lsp-types 0.61.0 r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | lsp-types 0.61.0kjeremy2019-09-033-4/+5
|/ /
* | Merge #1757bors[bot]2019-09-0312-158/+427
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1757: Assoc type bindings r=flodiebold a=flodiebold This adds support for type bindings (bounds like `where T: Iterator<Item = u32>`). It doesn't yet work in as many situations as I'd like because of some [Chalk problems](https://github.com/rust-lang/chalk/issues/234). But it works in some situations, and will at least not bitrot this way ;) (part of the problem is that we use `Normalize` to normalize associated types, but produce `ProjectionEq` goals from where clauses, so Chalk can't normalize using the environment; this would be fixed by using `ProjectionEq` for normalization, which I think is the 'proper' way, but then we'd run into those ambiguity problems everywhere...) Co-authored-by: Florian Diebold <[email protected]>
| * | Make type walking infrastructure a bit nicerFlorian Diebold2019-09-0310-135/+134
| | | | | | | | | | | | | | | If/when we switch to using Chalk's Ty, we'll need to replace this by its `Fold` trait, but I didn't want to import the whole thing just yet.
| * | Properly format `impl Trait<Type = Foo>` typesFlorian Diebold2019-09-032-23/+97
| | | | | | | | | | | | | | | | | | It's a bit complicated because we basically have to 'undo' the desugaring, and the result is very dependent on the specifics of the desugaring and will probably produce weird results otherwise.
| * | Add support for associated type bindings (`where Trait<Type = X>`)Florian Diebold2019-09-036-52/+183
| | |
| * | Add test for assoc type bindingsFlorian Diebold2019-09-031-0/+65
|/ /
* | Merge #1756bors[bot]2019-09-038-70/+127
|\ \ | | | | | | | | | | | | | | | | | | | | | 1756: Correctly build BodySourceMap for macro-expanded expressions r=flodiebold a=matklad r? @flodiebold Co-authored-by: Aleksey Kladov <[email protected]>
| * | Correctly build BodySourceMap for macro-expanded expressionsAleksey Kladov2019-09-038-70/+127
| | |
* | | Merge #1754bors[bot]2019-09-033-129/+136
|\| | | | | | | | | | | | | | | | | | | | | | | 1754: slightly simplify expr lowering flow r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | slightly simplify expr lowering flowAleksey Kladov2019-09-033-129/+136
| | |
* | | Merge #1753bors[bot]2019-09-034-659/+672
|\| | | | | | | | | | | | | | | | | | | | | | | 1753: clearer ignore r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | clearer ignoreAleksey Kladov2019-09-031-1/+1
| | |
| * | remove needless refsAleksey Kladov2019-09-031-2/+2
| | |
| * | use recrod terminology for hir::PatAleksey Kladov2019-09-033-8/+7
| | |
| * | move expr lowering to lowerAleksey Kladov2019-09-033-653/+667
|/ /
* | Merge #1752bors[bot]2019-09-02174-9105/+9432
|\ \ | | | | | | | | | | | | | | | | | | | | | 1752: Always wrap blocks into block expressions r=flodiebold a=matklad This way, things like function bodies are expressions, and we don't have to single them out Co-authored-by: Aleksey Kladov <[email protected]>
| * | fix assistsAleksey Kladov2019-09-025-61/+92
| | |
| * | fix hir for new block syntaxAleksey Kladov2019-09-0214-57/+72
| | |