aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Move const&static date to hir_defAleksey Kladov2019-11-221-4/+4
|
* Move FunctionData to hir_defAleksey Kladov2019-11-221-3/+3
|
*-. Merge #2348 #2352bors[bot]2019-11-221-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_defAleksey Kladov2019-11-221-1/+0
| |/
* / Rename Atts traitAleksey Kladov2019-11-221-1/+1
|/
* reformatAleksey Kladov2019-11-211-4/+3
|
* Remove old hir::generics moduleAleksey Kladov2019-11-211-2/+1
|
* Move resolver to hir_defAleksey Kladov2019-11-211-3/+0
|
* Move ScopeDefAleksey Kladov2019-11-211-3/+2
|
* Remove hir/adt.rsAleksey Kladov2019-11-201-5/+3
|
* Move traits to hir_defAleksey Kladov2019-11-201-1/+0
|
* Remove old impls infrastructureAleksey Kladov2019-11-151-4/+2
|
* Reduce duplication between uncertain floats & intsAleksey Kladov2019-11-131-3/+1
|
* Introduce hir::GenericParamAleksey Kladov2019-11-111-2/+2
| | | | Unlike existing hir::GenericParams, this is a global ID.
* Don't reexport generics from HIRAleksey Kladov2019-11-111-2/+2
|
* Add hir::LocalAleksey Kladov2019-11-111-1/+1
|
* Make primitive tys publicAleksey Kladov2019-11-111-1/+5
|
* Merge #2179bors[bot]2019-11-061-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 attributesMartin Asquino2019-11-041-0/+1
| |
* | Move Namespace enum closer to usageAleksey Kladov2019-11-041-4/+1
| |
* | Rename MockDatabase -> TestDBAleksey Kladov2019-11-041-2/+2
|/ | | | Actually working rename is sooo useful!
* Remove last traces of nameres from hirAleksey Kladov2019-11-031-2/+4
|
* Move CrateDefMap to hir_defAleksey Kladov2019-11-031-0/+1
|
* Move Source to hir_expandAleksey Kladov2019-11-021-2/+2
|
* move builtin types to hir_defAleksey Kladov2019-10-311-3/+4
|
* push name down to hir_expandAleksey Kladov2019-10-301-2/+1
|
* push either to hir_expandAleksey Kladov2019-10-301-9/+8
|
* remove forward pointer for attrsAleksey Kladov2019-10-301-1/+0
|
* fix compilationAleksey Kladov2019-10-301-2/+1
|
* remove forward pointer for type_refAleksey Kladov2019-10-301-2/+1
|
* remove forward pointer to PathAleksey Kladov2019-10-301-3/+4
|
* remove forward pointer for nameAleksey Kladov2019-10-301-3/+3
|
* move raw_items to hir_defAleksey Kladov2019-10-301-4/+1
|
* cleanupAleksey Kladov2019-10-291-3/+4
|
* remove empty moduleAleksey Kladov2019-10-291-9/+6
|
* reduce visibilityAleksey Kladov2019-10-291-1/+1
|
* Avoid cloning `Arc<[T]>` into a vec if possibleShotaro Yamada2019-10-141-0/+1
|
* add <> for type aliases as wellAleksey Kladov2019-10-091-1/+1
|
* Introduce ra_cfg to parse and evaluate CfgExpruHOOCCOOHu2019-10-021-0/+1
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-2/+2
| | | | #1856
* introduce FromSource traitEkaterina Babshukova2019-09-191-0/+3
|
* Remove TraitItem and ImplItem in favor of AssocItemFlorian Diebold2019-09-171-1/+1
|
* Refactor a bit to prepare for resolving trait assoc itemsFlorian Diebold2019-09-171-3/+3
|
* Specify desirable namespace when calling resolveAleksey Kladov2019-09-131-1/+1
| | | | That way, we are able to get rid of a number of unreachable statements
* rename AdtDef -> AdtAleksey Kladov2019-09-121-1/+1
|
* generalize impl_froms to nested enumsAleksey Kladov2019-09-121-1/+8
|
* make various enums "inherit" from AdtDefAleksey Kladov2019-09-121-2/+2
|
* introduce hir debugging infraAleksey Kladov2019-09-091-0/+1
| | | | | | | | | | | | This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph
* cleanup hir db importsAleksey Kladov2019-09-081-1/+0
|
* Make type walking infrastructure a bit nicerFlorian Diebold2019-09-031-1/+3
| | | | | If/when we switch to using Chalk's Ty, we'll need to replace this by its `Fold` trait, but I didn't want to import the whole thing just yet.