Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add basic bultin macro infrastructure | Edwin Cheng | 2019-11-11 | 1 | -3/+8 |
| | |||||
* | Merge #2179 | bors[bot] | 2019-11-06 | 4 | -0/+98 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 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 | 4 | -0/+98 |
| | | |||||
* | | Move Namespace enum closer to usage | Aleksey Kladov | 2019-11-04 | 8 | -18/+29 |
| | | |||||
* | | Appease the linter by dummy doc comments | Aleksey Kladov | 2019-11-04 | 1 | -1/+1 |
| | | |||||
* | | Simplify | Aleksey Kladov | 2019-11-04 | 1 | -35/+24 |
| | | |||||
* | | Rename MockDatabase -> TestDB | Aleksey Kladov | 2019-11-04 | 4 | -42/+39 |
| | | | | | | | | Actually working rename is sooo useful! | ||||
* | | remove dead code | Aleksey Kladov | 2019-11-04 | 1 | -26/+7 |
| | | |||||
* | | Remove more duplication in test fixtures | Aleksey Kladov | 2019-11-04 | 3 | -50/+6 |
| | | |||||
* | | Remove some duplicated test functions | Aleksey Kladov | 2019-11-04 | 1 | -81/+16 |
|/ | |||||
* | Cleanup unused marks | Aleksey Kladov | 2019-11-04 | 1 | -10/+0 |
| | |||||
* | Use new text DSL instead of crate_graph! macro | Aleksey Kladov | 2019-11-04 | 3 | -128/+25 |
| | |||||
* | Reexport relative_path from ra_db | Aleksey Kladov | 2019-11-03 | 2 | -3/+1 |
| | |||||
* | Add small module-level docs | Aleksey Kladov | 2019-11-03 | 1 | -0/+5 |
| | |||||
* | Remove last traces of nameres from hir | Aleksey Kladov | 2019-11-03 | 7 | -66/+11 |
| | |||||
* | move crate_def_map tests to hir_def | Aleksey Kladov | 2019-11-03 | 7 | -2252/+0 |
| | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 17 | -1553/+183 |
| | |||||
* | Move diagnostics to hir_expand | Aleksey Kladov | 2019-11-02 | 6 | -89/+21 |
| | |||||
* | Move Source to hir_expand | Aleksey Kladov | 2019-11-02 | 2 | -3/+3 |
| | |||||
* | Upgrade Chalk | Florian Diebold | 2019-11-02 | 1 | -3/+3 |
| | |||||
* | Change SourceAnalyzer method resoltion API | Florian Diebold | 2019-11-01 | 2 | -4/+26 |
| | |||||
* | Various review fixes | Florian Diebold | 2019-11-01 | 3 | -17/+13 |
| | |||||
* | Add some doc comments | Florian Diebold | 2019-11-01 | 1 | -0/+6 |
| | |||||
* | Complete trait assoc items | Florian Diebold | 2019-11-01 | 3 | -5/+8 |
| | |||||
* | Refactor a bit | Florian Diebold | 2019-11-01 | 1 | -36/+25 |
| | |||||
* | Don't do autoderef for path resolution | Florian Diebold | 2019-11-01 | 1 | -18/+39 |
| | |||||
* | Refactor to unify with method resolution | Florian Diebold | 2019-11-01 | 6 | -137/+111 |
| | |||||
* | Record assoc item resolution | Florian Diebold | 2019-11-01 | 1 | -1/+3 |
| | |||||
* | Insert type vars before doing assoc item resolution | Florian Diebold | 2019-11-01 | 2 | -12/+15 |
| | |||||
* | Add another unrelated, currently not working test | Florian Diebold | 2019-11-01 | 1 | -0/+16 |
| | |||||
* | Get trait assoc item resolution mostly working | Florian Diebold | 2019-11-01 | 3 | -16/+261 |
| | |||||
* | Fixes #2143 | kjeremy | 2019-10-31 | 1 | -1/+3 |
| | |||||
* | move struct & enum data to hir_def | Aleksey Kladov | 2019-10-31 | 5 | -200/+72 |
| | |||||
* | add ModuleDefId to hir_def | Aleksey Kladov | 2019-10-31 | 2 | -9/+5 |
| | |||||
* | move builtin types to hir_def | Aleksey Kladov | 2019-10-31 | 6 | -78/+24 |
| | |||||
* | move mod_resolution to hir_def | Aleksey Kladov | 2019-10-31 | 3 | -84/+6 |
| | |||||
* | source_binder => match_ast! | kjeremy | 2019-10-30 | 1 | -28/+36 |
| | |||||
* | move hygiene to hir_expand | Aleksey Kladov | 2019-10-30 | 2 | -3/+7 |
| | |||||
* | push name down to hir_expand | Aleksey Kladov | 2019-10-30 | 15 | -30/+27 |
| | |||||
* | push either to hir_expand | Aleksey Kladov | 2019-10-30 | 1 | -9/+8 |
| | |||||
* | refactor $crate handling | Aleksey Kladov | 2019-10-30 | 2 | -7/+9 |
| | | | | | Introduce proper hygiene module, which should grow quite a bit eventually. | ||||
* | remove forward pointer for attrs | Aleksey Kladov | 2019-10-30 | 4 | -6/+2 |
| | |||||
* | fix compilation | Aleksey Kladov | 2019-10-30 | 4 | -6/+7 |
| | |||||
* | remove forward pointer for type_ref | Aleksey Kladov | 2019-10-30 | 14 | -24/+27 |
| | |||||
* | remove forward pointer to Path | Aleksey Kladov | 2019-10-30 | 12 | -20/+27 |
| | |||||
* | remove forward pointer for name | Aleksey Kladov | 2019-10-30 | 16 | -43/+52 |
| | |||||
* | move raw_items to hir_def | Aleksey Kladov | 2019-10-30 | 15 | -1367/+23 |
| | |||||
* | Move ids to hir_def crate | Aleksey Kladov | 2019-10-30 | 10 | -249/+26 |
| | |||||
* | introduce ra_hir_def | Aleksey Kladov | 2019-10-30 | 11 | -100/+100 |
| | |||||
* | move ty interning to ty | Aleksey Kladov | 2019-10-30 | 1 | -6/+6 |
| |