Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove obsolete TOOD | Aleksey Kladov | 2019-09-22 | 1 | -1/+0 |
| | | | | I have no idea what I've meant to fix here :-( | ||||
* | test for TOODs as well | Aleksey Kladov | 2019-09-22 | 2 | -371/+371 |
| | |||||
* | minor cleanup | Aleksey Kladov | 2019-09-22 | 1 | -1/+8 |
| | |||||
* | Support open source version of vscode as well | Jens Hausdorf | 2019-09-21 | 1 | -1/+1 |
| | |||||
* | Support loop as argument | kjeremy | 2019-09-20 | 3 | -0/+65 |
| | |||||
* | Merge #1888 | bors[bot] | 2019-09-20 | 6 | -12/+76 |
|\ | | | | | | | | | | | | | | | | | | | 1888: allow compiling ra_ide_api on wasm r=matklad a=matklad bors r+ this is from #1746 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | allow compiling ra_ide_api on wasm | Aleksey Kladov | 2019-09-20 | 6 | -12/+76 |
| | | |||||
* | | Simplify match arm | kjeremy | 2019-09-20 | 1 | -2/+1 |
| | | |||||
* | | Merge #1884 | bors[bot] | 2019-09-20 | 3 | -2/+91 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1884: Add indexing to record_field_pat r=matklad a=kjeremy Fixes #1870 Co-authored-by: kjeremy <[email protected]> | ||||
| * | | Apply suggestion | kjeremy | 2019-09-20 | 1 | -3/+2 |
| | | | |||||
| * | | Add indexing to record_field_pat | kjeremy | 2019-09-20 | 3 | -2/+92 |
| |/ | |||||
* | | Merge #1883 | bors[bot] | 2019-09-20 | 3 | -2/+40 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1883: Fix path attribute causing false "unresolved module" error for submodules r=matklad a=gfreezy fixed #1880 Co-authored-by: gfreezy <[email protected]> | ||||
| * | | fix module attr path | gfreezy | 2019-09-20 | 3 | -2/+40 |
| | | | |||||
* | | | fix infinite loop in the parser | Aleksey Kladov | 2019-09-20 | 3 | -7/+64 |
| |/ |/| | | | | | closes #1866 | ||||
* | | Merge #1881 | bors[bot] | 2019-09-20 | 3 | -1/+70 |
|\ \ | |/ |/| | | | | | | | | | | | 1881: don't confuse macro with != r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | don't confuse macro with != | Aleksey Kladov | 2019-09-20 | 3 | -1/+70 |
| | | | | | | | | closes #1871 | ||||
* | | Merge #1850 | bors[bot] | 2019-09-20 | 2 | -0/+375 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1850: feat(assists): raw string <-> usual string manipulation r=matklad a=Geobert Fixes #1730 Co-authored-by: Geobert Quach <[email protected]> | ||||
| * | | feat(assists): Apply comments | Geobert Quach | 2019-09-19 | 1 | -100/+59 |
| | | | |||||
| * | | feat(assists): Rename `escape_quote` to `escape_double_quote` | Geobert Quach | 2019-09-19 | 1 | -3/+3 |
| | | | |||||
| * | | feature(assists): Fix regression | Geobert Quach | 2019-09-19 | 1 | -2/+2 |
| | | | |||||
| * | | feat(assists): manage `"` when removing hash and make_usual_string | Geobert Quach | 2019-09-19 | 1 | -5/+90 |
| | | | |||||
| * | | feat(assists): raw string <-> usual string manipulation | Geobert Quach | 2019-09-19 | 2 | -0/+331 |
| | | | | | | | | | | | | Fixes #1730 | ||||
* | | | A few doc comments | kjeremy | 2019-09-19 | 1 | -1/+9 |
|/ / | |||||
* | | Replace usages of bump_any with bump | kjeremy | 2019-09-19 | 14 | -87/+87 |
| | | |||||
* | | Merge #1853 | bors[bot] | 2019-09-19 | 13 | -138/+294 |
|\ \ | |/ |/| | | | | | | | | | | | | | 1853: Introduce FromSource trait r=matklad a=viorina The idea is to provide an ability to get HIR from AST in a more general way than it's possible using `source_binder`. It also could help with #1622 fixing. Co-authored-by: Ekaterina Babshukova <[email protected]> | ||||
| * | introduce FromSource trait | Ekaterina Babshukova | 2019-09-19 | 13 | -138/+294 |
| | | |||||
* | | Merge #1873 | bors[bot] | 2019-09-19 | 1 | -0/+15 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1873: `fold_kind`: `MATCH_ARM_LIST => FoldKind::Block` r=matklad a=Centril As suggested by @matklad in https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/folding.20of.20.60match.60.20and.20.60if.60/near/176109093. This should let folks fold all the arms in a `match` expression rather than just each arm individually. Co-authored-by: Mazdak Farrokhzad <[email protected]> | ||||
| * | | Pacify rustfmt. | Mazdak Farrokhzad | 2019-09-19 | 1 | -4/+1 |
| | | | |||||
| * | | `fold_kind`: `MATCH_ARM_LIST => FoldKind::Block` | Mazdak Farrokhzad | 2019-09-19 | 1 | -0/+18 |
| | | | |||||
* | | | Merge #1874 | bors[bot] | 2019-09-19 | 2 | -34/+28 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 1874: move fold conversino to conv.rs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | move fold conversino to conv.rs | Aleksey Kladov | 2019-09-19 | 2 | -34/+28 |
| | | | |||||
| * | | fix typo | Aleksey Kladov | 2019-09-19 | 1 | -1/+1 |
| |/ | |||||
* / | slightly cleanup macro tests | Aleksey Kladov | 2019-09-19 | 1 | -185/+159 |
|/ | |||||
* | tweak installation process | Aleksey Kladov | 2019-09-18 | 2 | -19/+26 |
| | |||||
* | account for impls generated by macros | Aleksey Kladov | 2019-09-18 | 3 | -28/+74 |
| | |||||
* | Merge #1862 | bors[bot] | 2019-09-17 | 19 | -261/+358 |
|\ | | | | | | | | | | | | | | | 1862: Assoc item resolution refactoring (again) r=flodiebold a=flodiebold This is #1849, with the associated type selection code removed for now. Handling cycles there will need some more thought. Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Remove assoc type selection code for now to fix crashes | Florian Diebold | 2019-09-17 | 2 | -25/+10 |
| | | |||||
| * | Add test for `T::Item` cycles | Florian Diebold | 2019-09-17 | 1 | -0/+42 |
| | | |||||
| * | Remove TraitItem and ImplItem in favor of AssocItem | Florian Diebold | 2019-09-17 | 9 | -93/+46 |
| | | |||||
| * | Small review improvements | Florian Diebold | 2019-09-17 | 1 | -5/+3 |
| | | |||||
| * | Add test for `<T>::Item` | Florian Diebold | 2019-09-17 | 1 | -10/+22 |
| | | |||||
| * | Refactor some more | Florian Diebold | 2019-09-17 | 4 | -57/+100 |
| | | | | | | | | | | | | Type-relative paths (`<T>::foo`) also need to work in type context, for example `<T>::Item` is legal. So rather than returning the type ref from the resolver function, just check it before. | ||||
| * | Refactor associated item resolution more | Florian Diebold | 2019-09-17 | 2 | -124/+120 |
| | | | | | | | | | | When resolving an associated item in value namespace, use the `Ty` lowering code for the segments before the last instead of replicating it. | ||||
| * | Refactor a bit to prepare for resolving trait assoc items | Florian Diebold | 2019-09-17 | 10 | -52/+83 |
| | | |||||
| * | Resolve assoc types on type parameters | Florian Diebold | 2019-09-17 | 2 | -24/+61 |
| | | | | | | | | | | | | E.g. `fn foo<T: Iterator>() -> T::Item`. It seems that rustc does this only for type parameters and only based on their bounds, so we also only consider traits from bounds. | ||||
| * | Adapt some tests | Florian Diebold | 2019-09-17 | 1 | -12/+12 |
| | | |||||
* | | remove confusing code | Aleksey Kladov | 2019-09-17 | 1 | -31/+1 |
| | | | | | | | | | | | | I must confess I don't really understand what this code is trying to do, but it definitely misreports changes during fixedpoint iteration, and no tests fail if I remove it, so... | ||||
* | | show error log by default | Aleksey Kladov | 2019-09-17 | 1 | -1/+1 |
|/ | |||||
* | use usual token tree for macro expansion | Aleksey Kladov | 2019-09-17 | 10 | -933/+753 |
| | |||||
* | split mbe expander code into two modules | Aleksey Kladov | 2019-09-17 | 3 | -418/+448 |
| |