Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | remove last traces of source roots from hir | Aleksey Kladov | 2019-10-11 | 5 | -48/+71 | |
| |/ | ||||||
* | | Remove `as_original_file` | Shotaro Yamada | 2019-10-10 | 1 | -10/+0 | |
| | | ||||||
* | | Use `original_file` instead of `as_original_file` | Shotaro Yamada | 2019-10-10 | 2 | -4/+4 | |
|/ | ||||||
* | Merge #1981 | bors[bot] | 2019-10-10 | 4 | -36/+33 | |
|\ | | | | | | | | | | | | | | | 1981: tweak fn labels in completion r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | tweak fn labels in completion | Aleksey Kladov | 2019-10-10 | 4 | -36/+33 | |
| | | ||||||
* | | don't special case macro_use | Aleksey Kladov | 2019-10-10 | 3 | -23/+13 | |
| | | ||||||
* | | don't special case path attr | Aleksey Kladov | 2019-10-10 | 3 | -34/+31 | |
|/ | ||||||
* | simplify a bit | Aleksey Kladov | 2019-10-10 | 2 | -10/+13 | |
| | ||||||
* | simplify some tests | Aleksey Kladov | 2019-10-10 | 1 | -90/+24 | |
| | ||||||
* | Refactor and fix some more edge cases around name resolution | Aleksey Kladov | 2019-10-10 | 4 | -192/+209 | |
| | ||||||
* | if completion does auto-insertion, indicate this in the label | Aleksey Kladov | 2019-10-10 | 5 | -475/+562 | |
| | ||||||
* | add `module` methods | Ekaterina Babshukova | 2019-10-09 | 2 | -2/+42 | |
| | ||||||
* | Merge #1973 | bors[bot] | 2019-10-09 | 2 | -57/+85 | |
|\ | | | | | | | | | | | | | | | 1973: add <> for type aliases as well r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | add <> for type aliases as well | Aleksey Kladov | 2019-10-09 | 2 | -53/+81 | |
| | | ||||||
| * | smal cleanup | Aleksey Kladov | 2019-10-09 | 1 | -5/+5 | |
| | | ||||||
* | | Merge #1972 | bors[bot] | 2019-10-09 | 1 | -0/+3 | |
|\ \ | |/ |/| | | | | | | | | | | | 1972: extend selection correctly handles commas in tuples r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | extend selection correctly handles commas in tuples | Aleksey Kladov | 2019-10-09 | 1 | -0/+3 | |
| | | ||||||
* | | add `<>` when completing generic types | Aleksey Kladov | 2019-10-08 | 4 | -78/+198 | |
| | | ||||||
* | | simplify | Aleksey Kladov | 2019-10-08 | 1 | -4/+5 | |
| | | ||||||
* | | refactor | Aleksey Kladov | 2019-10-08 | 1 | -11/+9 | |
| | | ||||||
* | | refactor | Aleksey Kladov | 2019-10-08 | 1 | -8/+15 | |
|/ | ||||||
* | Merge #1969 | bors[bot] | 2019-10-08 | 10 | -45/+82 | |
|\ | | | | | | | | | | | | | | | 1969: restore coloring of attributes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | restore coloring of attributes | Aleksey Kladov | 2019-10-08 | 2 | -1/+4 | |
| | | ||||||
| * | hard-code nightly-only CFGs | Aleksey Kladov | 2019-10-08 | 1 | -0/+8 | |
| | | ||||||
| * | macro DSL for cfg in tests | Aleksey Kladov | 2019-10-08 | 3 | -16/+23 | |
| | | ||||||
| * | use slightly more idiomatic api for cfg | Aleksey Kladov | 2019-10-08 | 7 | -40/+59 | |
| | | ||||||
* | | Merge #1924 | bors[bot] | 2019-10-08 | 8 | -9/+81 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | 1924: Support inferring&completing `Self` type in enum/struct/union definitions r=ice1000 a=ice1000 Signed-off-by: ice1000 <[email protected]> An attempt to fix #1908. This code works, but I believe the implementation is ugly. Please give me suggestions! Co-authored-by: ice1000 <[email protected]> | |||||
| * | Address comments: fix docs, add completion test for `Self`. | ice1000 | 2019-10-08 | 4 | -5/+32 | |
| | | ||||||
| * | Support inferring `Self` type in enum definitions | ice1000 | 2019-10-08 | 7 | -9/+54 | |
| | | | | | | | | Signed-off-by: ice1000 <[email protected]> | |||||
* | | Merge #1922 | bors[bot] | 2019-10-08 | 2 | -18/+93 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1922: feat(assists): Make raw string unescaped r=matklad a=Geobert Last piece of https://github.com/rust-analyzer/rust-analyzer/issues/1730 Co-authored-by: Geobert Quach <[email protected]> | |||||
| * | | feat(assists): Address some PR comments | Geobert Quach | 2019-10-04 | 1 | -25/+24 | |
| | | | ||||||
| * | | feat(assists): Even smarter with hashes | Geobert Quach | 2019-10-01 | 1 | -12/+44 | |
| | | | | | | | | | | | | Count `"#*` streak only, extract the counting in a function, unit test this function | |||||
| * | | feat(assists): Be smart about hashes | Geobert Quach | 2019-09-30 | 1 | -1/+36 | |
| | | | | | | | | | | | | Add max_hashes_streak + 1 hashes to the raw string | |||||
| * | | feat(assists): Keep only one version of make_raw_string | Geobert Quach | 2019-09-29 | 2 | -83/+13 | |
| | | | ||||||
| * | | feat(assists): Make raw string unescaped | Geobert Quach | 2019-09-26 | 3 | -1/+79 | |
| | | | ||||||
* | | | Merge #1951 | bors[bot] | 2019-10-08 | 5 | -1/+160 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1951: Lower the precedence of the `as` operator. r=matklad a=goffrie Previously, the `as` operator was being parsed like a postfix expression, and therefore being given the highest possible precedence. That caused it to bind more tightly than prefix operators, which it should not. Instead, parse it somewhat like a normal binary expression with some special-casing. Fixes #1851. Co-authored-by: Geoffry Song <[email protected]> | |||||
| * | | Move tests around | Geoffry Song | 2019-10-06 | 9 | -147/+198 | |
| | | | ||||||
| * | | Lower the precedence of the `as` operator. | Geoffry Song | 2019-10-03 | 5 | -45/+153 | |
| | | | | | | | | | | | | | | | | | | | | | Previously, the `as` operator was being parsed like a postfix expression, and therefore being given the highest possible precedence. That caused it to bind more tightly than prefix operators, which it should not. Instead, parse it somewhat like a normal binary expression with some special-casing. | |||||
* | | | Merge #1960 | bors[bot] | 2019-10-05 | 13 | -424/+346 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1960: Replace AST visitors with macro r=viorina a=viorina Fixes #1672. Co-authored-by: Ekaterina Babshukova <[email protected]> | |||||
| * | | | remove `visitor` module | Ekaterina Babshukova | 2019-10-05 | 4 | -139/+24 | |
| | | | | ||||||
| * | | | replace AST visitors with macro | Ekaterina Babshukova | 2019-10-05 | 10 | -297/+334 | |
| | | | | ||||||
* | | | | Merge #1928 | bors[bot] | 2019-10-05 | 28 | -66/+656 | |
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1928: Support `#[cfg(..)]` r=matklad a=oxalica This PR implement `#[cfg(..)]` conditional compilation. It read default cfg options from `rustc --print cfg` with also hard-coded `test` and `debug_assertion` enabled. Front-end settings are **not** included in this PR. There is also a known issue that inner control attributes are totally ignored. I think it is **not** a part of `cfg` and create a separated issue for it. #1949 Fixes #1920 Related: #1073 Co-authored-by: uHOOCCOOHu <[email protected]> Co-authored-by: oxalica <[email protected]> | |||||
| * | | | Use raw cfgs in json project and fix typo | oxalica | 2019-10-05 | 3 | -9/+18 | |
| | | | | ||||||
| * | | | Add docs | uHOOCCOOHu | 2019-10-02 | 2 | -0/+6 | |
| | | | | ||||||
| * | | | Read default cfgs from rustc | uHOOCCOOHu | 2019-10-02 | 7 | -14/+75 | |
| | | | | ||||||
| * | | | Optimize | uHOOCCOOHu | 2019-10-02 | 5 | -13/+28 | |
| | | | | ||||||
| * | | | Refactor CfgOptions inside | uHOOCCOOHu | 2019-10-02 | 3 | -13/+20 | |
| | | | | ||||||
| * | | | Support cfg attribute on impl blocks | uHOOCCOOHu | 2019-10-02 | 5 | -13/+90 | |
| | | | | ||||||
| * | | | Enable CfgOptions `test` for workspace crates | uHOOCCOOHu | 2019-10-02 | 9 | -26/+134 | |
| | | | | ||||||
| * | | | Introduce ra_cfg to parse and evaluate CfgExpr | uHOOCCOOHu | 2019-10-02 | 10 | -27/+301 | |
| | | | |