Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use flatten branch of lsp-types | Jeremy Kolb | 2019-07-07 | 4 | -27/+18 |
| | |||||
* | Merge #1501 | bors[bot] | 2019-07-07 | 5 | -35/+170 |
|\ | | | | | | | | | | | | | | | 1501: Infer for loop variable r=flodiebold a=unrealhoang My take on https://github.com/rust-analyzer/rust-analyzer/issues/1425 Co-authored-by: Unreal Hoang <[email protected]> | ||||
| * | add projection to infer for loop variable | Unreal Hoang | 2019-07-07 | 5 | -35/+170 |
| | | |||||
* | | Merge #1499 | bors[bot] | 2019-07-07 | 7 | -109/+241 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1499: processing attribute #[path] of module r=matklad a=andreevlex support two cases - simple name file `foo.rs` - declaration in mod.rs #1211 Co-authored-by: Alexander Andreev <[email protected]> | ||||
| * | | Moved module resolution test in mods.rs | Alexander Andreev | 2019-07-07 | 4 | -193/+195 |
| | | | |||||
| * | | Added support attribute path in resolusion module fn | Alexander Andreev | 2019-07-06 | 2 | -5/+119 |
| | | | |||||
| * | | Added extract path attribute for current module | Alexander Andreev | 2019-07-06 | 4 | -7/+23 |
| | | | | | | | | | | | | #1211 | ||||
* | | | inline snapshot in complete_postfix | funkill2 | 2019-07-07 | 2 | -75/+71 |
| |/ |/| | |||||
* | | Make EnumVariant a GenericDef and simplify some code | Florian Diebold | 2019-07-06 | 4 | -14/+21 |
| | | |||||
* | | Add trait obligations for where clauses when calling functions/methods | Florian Diebold | 2019-07-06 | 7 | -34/+156 |
|/ | | | | | E.g. if we call `foo<T: Into<u32>>(x)`, that adds an obligation that `x: Into<u32>`, etc. | ||||
* | Merge #1495 | bors[bot] | 2019-07-05 | 2 | -9/+22 |
|\ | | | | | | | | | | | | | | | 1495: use correct file for diagnostics r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | use correct file for diagnostics | Aleksey Kladov | 2019-07-05 | 2 | -9/+22 |
| | | | | | | | | closes #1475 | ||||
* | | Merge #1494 | bors[bot] | 2019-07-05 | 1 | -1/+6 |
|\| | | | | | | | | | | | | | | | 1494: properly restrict diagnostics to a single file r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | properly restrict diagnostics to a single file | Aleksey Kladov | 2019-07-05 | 1 | -1/+6 |
| | | |||||
* | | Clippy trivially_copy_pass_by_ref | Jeremy Kolb | 2019-07-05 | 11 | -30/+30 |
|/ | |||||
* | Merge #1491 | bors[bot] | 2019-07-05 | 5 | -36/+34 |
|\ | | | | | | | | | | | | | | | | | | | 1491: More clippy r=matklad a=kjeremy A few more clippy changes. I'm a little unsure of the second commit. It's the trivially_copy_pass_by_ref lint and there are a number of places in the code we could use it if it makes sense. Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | readability | Jeremy Kolb | 2019-07-05 | 1 | -1/+4 |
| | | |||||
| * | &self -> self | Jeremy Kolb | 2019-07-05 | 1 | -13/+13 |
| | | | | | | | | https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref | ||||
| * | Clippy changes | Jeremy Kolb | 2019-07-05 | 6 | -27/+22 |
| | | |||||
* | | Fix clippy::redundant_clone | Shotaro Yamada | 2019-07-05 | 4 | -6/+5 |
|/ | |||||
* | Formatting again | Jeremy Kolb | 2019-07-05 | 1 | -5/+5 |
| | |||||
* | Symplify by using into() | Jeremy Kolb | 2019-07-05 | 1 | -3/+3 |
| | |||||
* | Formatting | Jeremy Kolb | 2019-07-04 | 1 | -1/+3 |
| | |||||
* | Some clippy fixes for 1.36 | Jeremy Kolb | 2019-07-04 | 31 | -70/+62 |
| | |||||
* | Fix formatting | Jeremy Kolb | 2019-07-04 | 1 | -5/+5 |
| | |||||
* | Change default() | Jeremy Kolb | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | Update to lsp-types 0.58.0 | Jeremy Kolb | 2019-07-04 | 3 | -7/+7 |
| | |||||
* | Merge #1485 | bors[bot] | 2019-07-04 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 1485: rand 0.7.0 r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | rand 0.7.0 | Jeremy Kolb | 2019-07-04 | 1 | -1/+1 |
| | | |||||
* | | Merge #1486 | bors[bot] | 2019-07-04 | 165 | -787/+772 |
|\ \ | |/ |/| | | | | | | | | | | | 1486: allow rustfmt to reorder imports r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 165 | -787/+772 |
| | | | | | | | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | | Merge #1478 | bors[bot] | 2019-07-03 | 2 | -2/+39 |
|\ \ | |/ |/| | | | | | | | | | | | 1478: [WIP] Added resolve submodules with raw name r=matklad a=andreevlex #1211 Co-authored-by: Alexander Andreev <[email protected]> | ||||
| * | Fixed request changes | Alexander Andreev | 2019-07-03 | 2 | -6/+5 |
| | | |||||
| * | Move resolve raw name in name.rs | Alexander Andreev | 2019-07-03 | 3 | -11/+40 |
| | | | | | | | | Added test for check module resolution with raw name | ||||
| * | Added resolve submodules with raw name | Alexander Andreev | 2019-07-03 | 1 | -0/+9 |
| | | | | | | | | #1211 | ||||
* | | extend add_impl_members to constants and types | Ekaterina Babshukova | 2019-07-03 | 2 | -50/+87 |
|/ | |||||
* | Add completion for type aliases | Shotaro Yamada | 2019-07-02 | 2 | -1/+45 |
| | |||||
* | remove snapshot files | funkill2 | 2019-07-01 | 13 | -273/+0 |
| | |||||
* | inline snapshots | funkill2 | 2019-07-01 | 1 | -157/+366 |
| | |||||
* | put source maps first for better stats | Aleksey Kladov | 2019-06-30 | 2 | -8/+8 |
| | |||||
* | collect more macros, they are heavy | Aleksey Kladov | 2019-06-30 | 1 | -0/+1 |
| | |||||
* | print memory usage for queries | Aleksey Kladov | 2019-06-30 | 7 | -13/+101 |
| | |||||
* | Move memory usage statistics to ra_prof | Aleksey Kladov | 2019-06-30 | 8 | -66/+76 |
| | |||||
* | Remove parse error on array initializer attributes | Ryan Cumming | 2019-06-30 | 3 | -76/+0 |
| | | | | | This is actually allowed by the `rustc` parser but most attributes will fail later due to attributes on expressions being experimental. | ||||
* | Support attributes on array members | Ryan Cumming | 2019-06-30 | 7 | -0/+205 |
| | | | | | | | | | | | | Array members are allow to have attributes such as `#[cfg]`. This is a bit tricky as we don't know if the first expression is an initializer or a member until we encounter a `;`. This reuses a trick from `stmt` where we remember if we saw an attribute and then raise an error if the first expression ends up being an initializer. This isn't perfect as the error isn't correctly located on the attribute or initializer; it ends up immediately after the `;`. | ||||
* | Merge #1456 | bors[bot] | 2019-06-29 | 1 | -1/+31 |
|\ | | | | | | | | | | | | | | | 1456: Deduplicate method candidates r=matklad a=flodiebold With trait method completion + autoderef, we were getting a lot of duplicates, which was really annoying... Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Deduplicate method candidates | Florian Diebold | 2019-06-29 | 1 | -1/+31 |
| | | |||||
* | | Complete associated methods on enums (and unions) as well | Florian Diebold | 2019-06-29 | 4 | -6/+91 |
|/ | |||||
* | show macros in file structure | Ekaterina Babshukova | 2019-06-28 | 2 | -5/+25 |
| | |||||
* | Merge #1440 | bors[bot] | 2019-06-28 | 4 | -7/+90 |
|\ | | | | | | | | | | | | | | | 1440: fixed #1384 r=matklad a=zbelial This PR fixed #1384 . Co-authored-by: zjy <[email protected]> |