Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove not that useful indirection | Aleksey Kladov | 2019-10-29 | 3 | -4/+4 |
| | |||||
* | remove empty module | Aleksey Kladov | 2019-10-29 | 2 | -15/+6 |
| | |||||
* | reduce visibility | Aleksey Kladov | 2019-10-29 | 2 | -2/+2 |
| | |||||
* | flatten hir_expand | Aleksey Kladov | 2019-10-29 | 2 | -4/+2 |
| | |||||
* | rename hir_def -> hir_expand | Aleksey Kladov | 2019-10-29 | 3 | -3/+3 |
| | |||||
* | move expansion-related code to a separate crate | Aleksey Kladov | 2019-10-29 | 6 | -303/+42 |
| | |||||
* | start ra_hir_def crate | Aleksey Kladov | 2019-10-29 | 7 | -131/+39 |
| | |||||
* | weaken requirements of AstDef | Aleksey Kladov | 2019-10-28 | 1 | -23/+23 |
| | |||||
* | remove relative_path_buf workaround | Aleksey Kladov | 2019-10-27 | 1 | -10/+3 |
| | | | | The upstream problem was fixed with the change to 1.0 | ||||
* | Upgrade Chalk (without using its dyn/impl Trait support) | Florian Diebold | 2019-10-26 | 2 | -43/+73 |
| | |||||
* | restore assert | Aleksey Kladov | 2019-10-23 | 1 | -0/+1 |
| | |||||
* | classify module from declaration | Ekaterina Babshukova | 2019-10-22 | 1 | -1/+0 |
| | |||||
* | replace trait by a bunch of functions | Ekaterina Babshukova | 2019-10-22 | 1 | -58/+2 |
| | |||||
* | return Declaration from classify_name_ref | Ekaterina Babshukova | 2019-10-22 | 1 | -1/+39 |
| | |||||
* | replace a chain of `if let` by macro | Ekaterina Babshukova | 2019-10-22 | 1 | -39/+1 |
| | |||||
* | initial classify_name | Ekaterina Babshukova | 2019-10-22 | 1 | -2/+58 |
| | |||||
* | Bump deps | Laurențiu Nicola | 2019-10-17 | 2 | -4/+10 |
| | |||||
* | minor cleanup | Aleksey Kladov | 2019-10-16 | 3 | -33/+38 |
| | |||||
* | Merge #2008 | bors[bot] | 2019-10-14 | 4 | -43/+27 |
|\ | | | | | | | | | | | | | | | 2008: Prepare SourceDatabase API for lazy file loading r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Prepare SourceDatabase API for lazy file loading | Aleksey Kladov | 2019-10-14 | 4 | -43/+27 |
| | | |||||
* | | Merge #2006 | bors[bot] | 2019-10-14 | 7 | -50/+49 |
|\ \ | |/ |/| | | | | | | | | | | | 2006: Improvements around `Arc<[T]>` r=matklad a=sinkuu First commit tries to avoid cloning `Arc<[T]>` to a temporary `Vec` for mutating it, if there are no other strong references. Second commit utilizes [`FromIterator for Arc<[T]>`](https://doc.rust-lang.org/std/sync/struct.Arc.html#impl-FromIterator%3CT%3E) instead of `.collect::<Vec<_>>().into()` to avoid allocation in `From<Vec<T>> for Arc<[T]>`. Co-authored-by: Shotaro Yamada <[email protected]> | ||||
| * | make_mut_slice | Shotaro Yamada | 2019-10-14 | 4 | -42/+23 |
| | | |||||
| * | import make_mut_arc_slice | Shotaro Yamada | 2019-10-14 | 1 | -1/+2 |
| | | |||||
| * | `.collect()` directly into `Arc<[T]>` | Shotaro Yamada | 2019-10-14 | 4 | -25/+18 |
| | | |||||
| * | Avoid cloning `Arc<[T]>` into a vec if possible | Shotaro Yamada | 2019-10-14 | 5 | -31/+55 |
| | | |||||
* | | remove one more dependency on source roots | Aleksey Kladov | 2019-10-14 | 1 | -5/+3 |
|/ | |||||
* | Split up infer.rs further | Florian Diebold | 2019-10-12 | 4 | -1135/+1192 |
| | | | | | | - coercion logic goes to `coerce.rs` - expression inference goes to `expr.rs` - pattern inference goes to `pat.rs` | ||||
* | Merge #1989 | bors[bot] | 2019-10-11 | 1 | -24/+34 |
|\ | | | | | | | | | | | | | | | 1989: Chalk update to simplified IR r=flodiebold a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | Chalk update to simplified IR | kjeremy | 2019-10-10 | 1 | -24/+34 |
| | | |||||
* | | Merge #1994 | bors[bot] | 2019-10-11 | 3 | -45/+37 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1994: remove last traces of source roots from hir r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | remove last traces of source roots from hir | Aleksey Kladov | 2019-10-11 | 3 | -45/+37 |
| |/ | |||||
* / | Remove `as_original_file` | Shotaro Yamada | 2019-10-10 | 1 | -10/+0 |
|/ | |||||
* | 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 |
| | |||||
* | add `module` methods | Ekaterina Babshukova | 2019-10-09 | 2 | -2/+42 |
| | |||||
* | add <> for type aliases as well | Aleksey Kladov | 2019-10-09 | 1 | -1/+1 |
| | |||||
* | refactor | Aleksey Kladov | 2019-10-08 | 1 | -11/+9 |
| | |||||
* | Merge #1969 | bors[bot] | 2019-10-08 | 3 | -11/+24 |
|\ | | | | | | | | | | | | | | | 1969: restore coloring of attributes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | 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 | 2 | -7/+13 |
| | | |||||
* | | Address comments: fix docs, add completion test for `Self`. | ice1000 | 2019-10-08 | 3 | -5/+3 |
| | | |||||
* | | Support inferring `Self` type in enum definitions | ice1000 | 2019-10-08 | 6 | -8/+53 |
|/ | | | | Signed-off-by: ice1000 <[email protected]> | ||||
* | Merge #1928 | bors[bot] | 2019-10-05 | 8 | -38/+322 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]> | ||||
| * | Add docs | uHOOCCOOHu | 2019-10-02 | 1 | -0/+2 |
| | | |||||
| * | Optimize | uHOOCCOOHu | 2019-10-02 | 4 | -12/+27 |
| | | |||||
| * | Refactor CfgOptions inside | uHOOCCOOHu | 2019-10-02 | 1 | -3/+3 |
| | | |||||
| * | Support cfg attribute on impl blocks | uHOOCCOOHu | 2019-10-02 | 5 | -13/+90 |
| | |