Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add visibility in code model for fields | Florian Diebold | 2019-12-26 | 1 | -2/+2 |
| | |||||
* | Remove imports from hir | Aleksey Kladov | 2019-12-21 | 1 | -2/+2 |
| | |||||
* | Revert "Merge #2629" | Aleksey Kladov | 2019-12-21 | 1 | -2/+2 |
| | | | | | This reverts commit cdc9d682b066b110e0a44e5f8f1c574b38c16ba9, reversing changes made to 90ef070db3dce0a7acb9cd11d0b0d72de13c9d79. | ||||
* | Remove hir for imports | Aleksey Kladov | 2019-12-21 | 1 | -2/+2 |
| | |||||
* | Drop dead code | Aleksey Kladov | 2019-12-19 | 1 | -1/+1 |
| | |||||
* | Merge #2562 | bors[bot] | 2019-12-17 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2562: Fix NavigationTarget ranges r=matklad a=edwin0cheng Fix the issue described in https://github.com/rust-analyzer/rust-analyzer/pull/2544#issuecomment-565572553 This PR change the order for finding `full_range` of `focus_range` in following orders: 1. map both ranges to macro_call 2. map focus range to a token inside macro call, and full range to the whole of macro call 3. map both ranges to the whole of macro call And fix the corresponding tests and make these tests easily to follow. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Re-export Origin to replace ExpansionOrigin | Edwin Cheng | 2019-12-14 | 1 | -2/+1 |
| | | |||||
| * | Fix original_source find order | Edwin Cheng | 2019-12-14 | 1 | -1/+2 |
| | | |||||
* | | Use different types for path with and without generics | Aleksey Kladov | 2019-12-14 | 1 | -1/+1 |
|/ | |||||
* | Remove more dead code | Aleksey Kladov | 2019-12-08 | 1 | -2/+0 |
| | |||||
* | Cleanup module structure | Aleksey Kladov | 2019-12-08 | 1 | -5/+7 |
| | |||||
* | Remove ty from code_model | Aleksey Kladov | 2019-12-08 | 1 | -6/+1 |
| | |||||
* | Rename GenericParam -> TypeParam | Aleksey Kladov | 2019-12-07 | 1 | -3/+3 |
| | | | | We don't have LifetimeParam yet, but they are planned! | ||||
* | Add `ModuleSource::Block` | ice1000 | 2019-12-04 | 1 | -2/+3 |
| | |||||
* | Replace `ra_hir_expand::either` with crate | ice1000 | 2019-12-03 | 1 | -1/+1 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -1/+1 |
| | |||||
* | Move Ty | Aleksey Kladov | 2019-11-27 | 1 | -8/+1 |
| | |||||
* | Introduce hir::Type | Aleksey Kladov | 2019-11-26 | 1 | -1/+1 |
| | | | | It should provide a convenient API over more low-level Ty | ||||
* | Remove impl_block module | Aleksey Kladov | 2019-11-24 | 1 | -1/+0 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -5/+4 |
| | |||||
* | Remove ids module | Aleksey Kladov | 2019-11-24 | 1 | -1/+0 |
| | |||||
* | Cleanup imports | Aleksey Kladov | 2019-11-24 | 1 | -2/+3 |
| | |||||
* | Hide ImportId | Aleksey Kladov | 2019-11-23 | 1 | -3/+2 |
| | |||||
* | Cleanup imports | Aleksey Kladov | 2019-11-23 | 1 | -1/+1 |
| | |||||
* | Move docs to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -2/+2 |
| | |||||
* | Move lang_items to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -1/+0 |
| | |||||
* | Move attrs query to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -5/+4 |
| | |||||
* | Move const&static date to hir_def | Aleksey Kladov | 2019-11-22 | 1 | -4/+4 |
| | |||||
* | Move FunctionData to hir_def | Aleksey Kladov | 2019-11-22 | 1 | -3/+3 |
| | |||||
*-. | Merge #2348 #2352 | bors[bot] | 2019-11-22 | 1 | -1/+0 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2348: Add support for stringify! builtin macro r=matklad a=piotr-szpetkowski Refs #2212 First time ever contributing here, hopefully it's ok. 2352: Move TypeAlias to hir_def r=matklad a=matklad Co-authored-by: Piotr Szpetkowski <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| | * | Move TypeAlias to hir_def | Aleksey Kladov | 2019-11-22 | 1 | -1/+0 |
| |/ | |||||
* / | Rename Atts trait | Aleksey Kladov | 2019-11-22 | 1 | -1/+1 |
|/ | |||||
* | reformat | Aleksey Kladov | 2019-11-21 | 1 | -4/+3 |
| | |||||
* | Remove old hir::generics module | Aleksey Kladov | 2019-11-21 | 1 | -2/+1 |
| | |||||
* | Move resolver to hir_def | Aleksey Kladov | 2019-11-21 | 1 | -3/+0 |
| | |||||
* | Move ScopeDef | Aleksey Kladov | 2019-11-21 | 1 | -3/+2 |
| | |||||
* | Remove hir/adt.rs | Aleksey Kladov | 2019-11-20 | 1 | -5/+3 |
| | |||||
* | Move traits to hir_def | Aleksey Kladov | 2019-11-20 | 1 | -1/+0 |
| | |||||
* | Remove old impls infrastructure | Aleksey Kladov | 2019-11-15 | 1 | -4/+2 |
| | |||||
* | Reduce duplication between uncertain floats & ints | Aleksey Kladov | 2019-11-13 | 1 | -3/+1 |
| | |||||
* | Introduce hir::GenericParam | Aleksey Kladov | 2019-11-11 | 1 | -2/+2 |
| | | | | Unlike existing hir::GenericParams, this is a global ID. | ||||
* | Don't reexport generics from HIR | Aleksey Kladov | 2019-11-11 | 1 | -2/+2 |
| | |||||
* | Add hir::Local | Aleksey Kladov | 2019-11-11 | 1 | -1/+1 |
| | |||||
* | Make primitive tys public | Aleksey Kladov | 2019-11-11 | 1 | -1/+5 |
| | |||||
* | Merge #2179 | bors[bot] | 2019-11-06 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 2179: Use HirDatabase to compute `is_deprecated` r=matklad a=martskins This PR fixes #2167 by introducing `attributes_query` and adding `fn attrs(&self, def: crate::AttrDef) -> Option<Arc<[Attr]>>;` to the `DefDatabase` trait. I'm a little concerned about the two spots in `attributes_query` where code is repeated, but I couldn't figure out a way to avoid that, so.. I welcome suggestions :smile: Co-authored-by: Martin Asquino <[email protected]> | ||||
| * | HirDatabase stored attributes | Martin Asquino | 2019-11-04 | 1 | -0/+1 |
| | | |||||
* | | Move Namespace enum closer to usage | Aleksey Kladov | 2019-11-04 | 1 | -4/+1 |
| | | |||||
* | | Rename MockDatabase -> TestDB | Aleksey Kladov | 2019-11-04 | 1 | -2/+2 |
|/ | | | | Actually working rename is sooo useful! | ||||
* | Remove last traces of nameres from hir | Aleksey Kladov | 2019-11-03 | 1 | -2/+4 |
| | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -0/+1 |
| |