Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename assits to assists | Jeremy Kolb | 2019-02-05 | 6 | -5/+5 |
| | |||||
* | Merge #740 | bors[bot] | 2019-02-05 | 6 | -7/+7 |
|\ | | | | | | | | | | | | | | | | | 740: Update dependencies r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | Remove unused imports | Jeremy Kolb | 2019-02-05 | 2 | -2/+2 |
| | | |||||
| * | Bump insta and proptest to latest | kjeremy | 2019-02-04 | 4 | -5/+5 |
| | | |||||
* | | Merge #742 | bors[bot] | 2019-02-05 | 14 | -48/+190 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 742: Extern crate r=matklad a=flodiebold This implements `extern crate` declarations by lowering them to (absolute) imports, and adds support for absolute paths. It also extracts the extern prelude from the per-module item map, and handles the special case of extern crates in the crate root adding to the extern prelude. This means we finally resolve `Arc`, so it fixes #523 :smile: Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | | Fix ReachedFixedPoint value for unresolved external prelude items | Florian Diebold | 2019-02-04 | 1 | -1/+1 |
| | | | |||||
| * | | Complete extern prelude (again) | Florian Diebold | 2019-02-04 | 4 | -2/+41 |
| | | | |||||
| * | | Make it possible to have multiple crate in a mock analysis fixture | Florian Diebold | 2019-02-04 | 1 | -2/+10 |
| | | | |||||
| * | | Add alloc to std deps | Florian Diebold | 2019-02-04 | 1 | -0/+1 |
| | | | |||||
| * | | Make extern crates in the root module add to the extern prelude | Florian Diebold | 2019-02-04 | 4 | -39/+68 |
| | | | | | | | | | | | | To accomplish this, separate the extern prelude from the per-module item maps. | ||||
| * | | Lower extern crates to imports | Florian Diebold | 2019-02-04 | 1 | -3/+16 |
| | | | | | | | | | | | | This is probably not completely correct, but it kind of works. | ||||
| * | | Add test for extern crate renames | Florian Diebold | 2019-02-04 | 1 | -0/+42 |
| | | | |||||
| * | | Add AST for extern crate | Florian Diebold | 2019-02-04 | 5 | -6/+16 |
| | | | | | | | | | | | | Also change it to parse the crate name as a NAME_REF, not a NAME. | ||||
* | | | Merge #743 | bors[bot] | 2019-02-05 | 1 | -12/+13 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 743: Move comment r=matklad a=kjeremy As pointed out in https://github.com/rust-analyzer/rust-analyzer/pull/738/files#r253651450 Co-authored-by: kjeremy <[email protected]> | ||||
| * | | | Move comment | kjeremy | 2019-02-04 | 1 | -12/+13 |
| |/ / | |||||
* | | | Merge #744 | bors[bot] | 2019-02-05 | 2 | -2/+30 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 744: mbe: Ensure repetition separator matches r=matklad a=jrmuizel Co-authored-by: Jeff Muizelaar <[email protected]> | ||||
| * | | mbe: Ensure repetition separator matches | Jeff Muizelaar | 2019-02-05 | 2 | -2/+30 |
| | | | |||||
* | | | Merge #741 | bors[bot] | 2019-02-04 | 2 | -3/+13 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 741: Test more Self inference r=flodiebold a=kjeremy These cases didn't look covered. Co-authored-by: kjeremy <[email protected]> | ||||
| * | | | Test more Self inference | kjeremy | 2019-02-04 | 2 | -3/+13 |
| | |/ | |/| | |||||
* / | | Future proof by explicitly matching against None | kjeremy | 2019-02-04 | 1 | -1/+1 |
|/ / | |||||
* | | Add comment | kjeremy | 2019-02-04 | 1 | -0/+4 |
| | | |||||
* | | Implement lens for impls and support resolving lenses. | Jeremy Kolb | 2019-02-04 | 3 | -3/+85 |
|/ | |||||
* | mbe: Add support matching for matching idents | Jeff Muizelaar | 2019-02-04 | 2 | -0/+29 |
| | |||||
* | Factor out rules parsing | Jeff Muizelaar | 2019-02-04 | 1 | -24/+20 |
| | |||||
* | make HirDatabase object-safe | Aleksey Kladov | 2019-02-03 | 5 | -16/+26 |
| | |||||
* | Merge #733 | bors[bot] | 2019-02-03 | 7 | -9/+300 |
|\ | | | | | | | | | | | | | | | 733: fill match arms r=matklad a=gfreezy fixed #626 Co-authored-by: gfreezy <[email protected]> | ||||
| * | fill match arm | gfreezy | 2019-02-03 | 7 | -9/+300 |
| | | |||||
* | | Add core to STD_DEPS | Laurențiu Nicola | 2019-02-03 | 1 | -0/+1 |
|/ | | | See #731. | ||||
* | Make sure we match the entire pattern | Jeff Muizelaar | 2019-02-03 | 2 | -1/+34 |
| | |||||
* | Merge #728 | bors[bot] | 2019-02-03 | 4 | -230/+28 |
|\ | | | | | | | | | | | | | | | 728: add postfix completion for `dbg!()` with `.dbg` r=matklad a=hdhoang closes #716 Co-authored-by: Hoàng Đức Hiếu <[email protected]> | ||||
| * | fold complete_postfix tests into one | Hoàng Đức Hiếu | 2019-02-03 | 5 | -411/+3 |
| | | |||||
| * | add postfix completion for `dbg!()` with `.dbg` | Hoàng Đức Hiếu | 2019-02-02 | 5 | -6/+212 |
| | | |||||
* | | Merge #727 | bors[bot] | 2019-02-03 | 2 | -1/+53 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 727: Fix macro_rules separator parsing. r=matklad a=jrmuizel macro_rules rules are separated by ';' including an optional ';' at the end Co-authored-by: Jeff Muizelaar <[email protected]> | ||||
| * | | Fill out test a little more | Jeff Muizelaar | 2019-02-03 | 1 | -14/+18 |
| | | | | | | | | | | | | | | | This factors out an assert_expansion function to make things more managable. | ||||
| * | | Fix macro_rules separator parsing. | Jeff Muizelaar | 2019-02-03 | 2 | -1/+49 |
| | | | | | | | | | | | | | | | macro_rules rules are separated by ';' including an optional ';' at the end | ||||
* | | | Fix number of extern_inner_attributes | DJMcNab | 2019-02-02 | 2 | -0/+0 |
| |/ |/| | |||||
* | | Use aliases in import resolution | Florian Diebold | 2019-02-01 | 1 | -9/+12 |
| | | |||||
* | | Pass aliases to ImportData | Florian Diebold | 2019-02-01 | 4 | -8/+47 |
| | | |||||
* | | Add test for `use as` | Florian Diebold | 2019-02-01 | 1 | -0/+24 |
| | | |||||
* | | Some cleanup and additional tests | Florian Diebold | 2019-02-01 | 6 | -30/+138 |
| | | |||||
* | | Make the Resolution variants tuple variants | Florian Diebold | 2019-02-01 | 7 | -53/+41 |
| | | |||||
* | | Cleanup | Florian Diebold | 2019-02-01 | 7 | -27/+17 |
| | | |||||
* | | Use the new Resolver API for goto def | Florian Diebold | 2019-02-01 | 6 | -35/+89 |
| | | |||||
* | | Use the new Resolver API in completion | Florian Diebold | 2019-02-01 | 11 | -106/+190 |
| | | |||||
* | | Use new Resolver API in type inference | Florian Diebold | 2019-02-01 | 12 | -250/+295 |
| | | |||||
* | | Implement methods to build a resolver | Florian Diebold | 2019-02-01 | 5 | -73/+166 |
| | | |||||
* | | Sketching the resolver API | Florian Diebold | 2019-02-01 | 8 | -11/+134 |
| | | |||||
* | | split HirDatabase api | csmoe | 2019-02-01 | 21 | -106/+147 |
| | | |||||
* | | split hirdatabase | csmoe | 2019-02-01 | 1 | -20/+26 |
| | | |||||
* | | remove hard-coded support for ctry macro | Aleksey Kladov | 2019-02-01 | 5 | -73/+16 |
| | | | | | | | | | | It was used mainly to prevent HirFileId infra from bitroting, but the `vec![]` macro can serve that just as well! |