Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove ids module | Aleksey Kladov | 2019-11-24 | 1 | -4/+6 |
| | |||||
* | Remove unneded supertrait | Aleksey Kladov | 2019-11-23 | 1 | -1/+1 |
| | |||||
* | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 1 | -3/+1 |
| | |||||
* | Move docs to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -12/+5 |
| | |||||
* | Move lang_items to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -17/+6 |
| | |||||
* | Move attrs query to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -4/+0 |
| | |||||
* | Move const&static date to hir_def | Aleksey Kladov | 2019-11-22 | 1 | -12/+6 |
| | |||||
* | Move FunctionData to hir_def | Aleksey Kladov | 2019-11-22 | 1 | -8/+5 |
| | |||||
*-. | Merge #2348 #2352 | bors[bot] | 2019-11-22 | 1 | -6/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -6/+2 |
| |/ | |||||
* / | Encapsulate Attrs | Aleksey Kladov | 2019-11-22 | 1 | -2/+2 |
|/ | |||||
* | Remove old hir::generics module | Aleksey Kladov | 2019-11-21 | 1 | -3/+2 |
| | |||||
* | Move generic_params query to HIR | Aleksey Kladov | 2019-11-20 | 1 | -6/+4 |
| | |||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 1 | -1/+0 |
| | | | | This allows us to get rid of trait item index | ||||
* | Move traits to hir_def | Aleksey Kladov | 2019-11-20 | 1 | -8/+2 |
| | |||||
* | Move Generics to hir_def | Aleksey Kladov | 2019-11-20 | 1 | -1/+1 |
| | |||||
* | Upgrade Chalk again | Florian Diebold | 2019-11-16 | 1 | -5/+12 |
| | |||||
* | Upgrade Chalk | Florian Diebold | 2019-11-16 | 1 | -2/+13 |
| | | | | | Associated type values (in impls) are now a separate entity in Chalk, so we have to intern separate IDs for them. | ||||
* | Remove old impls infrastructure | Aleksey Kladov | 2019-11-15 | 1 | -15/+5 |
| | |||||
* | Move body queries to hir_def | Aleksey Kladov | 2019-11-14 | 1 | -14/+5 |
| | |||||
* | Move scopes to hir_def | Aleksey Kladov | 2019-11-14 | 1 | -1/+1 |
| | |||||
* | Move expression lowering to hir_def | Aleksey Kladov | 2019-11-12 | 1 | -2/+2 |
| | |||||
* | Minor cleanup | Aleksey Kladov | 2019-11-12 | 1 | -7/+5 |
| | |||||
* | Merge #2179 | bors[bot] | 2019-11-06 | 1 | -0/+4 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 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/+4 |
| | | |||||
* | | Move Namespace enum closer to usage | Aleksey Kladov | 2019-11-04 | 1 | -2/+2 |
|/ | |||||
* | Remove last traces of nameres from hir | Aleksey Kladov | 2019-11-03 | 1 | -2/+1 |
| | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -6/+3 |
| | |||||
* | move struct & enum data to hir_def | Aleksey Kladov | 2019-10-31 | 1 | -11/+4 |
| | |||||
* | fix compilation | Aleksey Kladov | 2019-10-30 | 1 | -2/+5 |
| | |||||
* | move raw_items to hir_def | Aleksey Kladov | 2019-10-30 | 1 | -13/+4 |
| | |||||
* | Move ids to hir_def crate | Aleksey Kladov | 2019-10-30 | 1 | -25/+3 |
| | |||||
* | move ty interning to ty | Aleksey Kladov | 2019-10-30 | 1 | -6/+6 |
| | |||||
* | rename hir_def -> hir_expand | Aleksey Kladov | 2019-10-29 | 1 | -1/+1 |
| | |||||
* | move expansion-related code to a separate crate | Aleksey Kladov | 2019-10-29 | 1 | -35/+9 |
| | |||||
* | start ra_hir_def crate | Aleksey Kladov | 2019-10-29 | 1 | -2/+2 |
| | |||||
* | minor cleanup | Aleksey Kladov | 2019-10-16 | 1 | -9/+9 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | Fix retrieval of the Fn traits | Florian Diebold | 2019-09-25 | 1 | -2/+2 |
| | | | | | I used the wrong query, so it only used the lang items from the respective crate... | ||||
* | Make closures impl closure traits | Florian Diebold | 2019-09-24 | 1 | -3/+3 |
| | |||||
* | Handle associated type shorthand (`T::Item`) | Florian Diebold | 2019-09-22 | 1 | -0/+7 |
| | | | | | | | | | | | | This is only allowed for generic parameters (including `Self` in traits), and special care needs to be taken to not run into cycles while resolving it, because we use the where clauses of the generic parameter to find candidates for the trait containing the associated type, but the where clauses may themselves contain instances of short-hand associated types. In some cases this is even fine, e.g. we might have `T: Trait<U::Item>, U: Iterator`. If there is a cycle, we'll currently panic, which isn't great, but better than overflowing the stack... | ||||
* | introduce hir debugging infra | Aleksey Kladov | 2019-09-09 | 1 | -1/+2 |
| | | | | | | | | | | | | 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 | ||||
* | slightly simplify expr lowering flow | Aleksey Kladov | 2019-09-03 | 1 | -2/+2 |
| | |||||
* | move expr lowering to lower | Aleksey Kladov | 2019-09-03 | 1 | -2/+2 |
| | |||||
* | switch from volatile to untracked read | Aleksey Kladov | 2019-08-15 | 1 | -5/+4 |
| | |||||
* | migrate ra_hir to the new rowan | Aleksey Kladov | 2019-07-19 | 1 | -3/+3 |
| | |||||
* | use Parse in mbe | Aleksey Kladov | 2019-07-18 | 1 | -2/+2 |
| | |||||
* | Some renamings for clarity | Florian Diebold | 2019-07-14 | 1 | -4/+4 |
| | |||||
* | Unify `normalize` and `implements` to simplify code | Florian Diebold | 2019-07-08 | 1 | -10/+3 |
| | |||||
* | Use environment for associated type normalization as well | Florian Diebold | 2019-07-08 | 1 | -1/+1 |
| |