aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty
Commit message (Collapse)AuthorAgeFilesLines
* Detangle ty from traits a bitAleksey Kladov2019-11-263-3/+55
|
* id-ify impls_in_crate_queryAleksey Kladov2019-11-263-49/+58
|
* Introduce hir_tyAleksey Kladov2019-11-262-190/+3
|
* Id-ify Ty::AdtAleksey Kladov2019-11-265-20/+25
|
* Use TypeAliasId in Ty, pt 2Aleksey Kladov2019-11-254-29/+22
|
* Use TypeAliasId in Ty, pt 1Aleksey Kladov2019-11-251-1/+13
|
* More ids in TyAleksey Kladov2019-11-252-4/+7
|
* Fixme for union fieldsAleksey Kladov2019-11-252-0/+3
|
* Fix hir for ast::UnionDefAleksey Kladov2019-11-252-3/+3
|
* Merge #2388bors[bot]2019-11-251-1/+2
|\ | | | | | | | | | | | | | | 2388: Show missing struct fields in the error message r=matklad a=Frizi This provides the most interesting information about the "missing structure fields" error directly to the user. Co-authored-by: Frizi <[email protected]>
| * Show missing struct fields in the error messageFrizi2019-11-241-1/+2
| |
* | Use ids for CallableAleksey Kladov2019-11-252-23/+29
| |
* | Use more IDsAleksey Kladov2019-11-251-17/+18
| |
* | Use GenericDefIdMoreAleksey Kladov2019-11-254-18/+20
| |
* | Use GenericDefId moreAleksey Kladov2019-11-252-13/+13
| |
* | Remove Resolver from autoderefAleksey Kladov2019-11-256-47/+65
| | | | | | | | | | Resolver holds onto too much context, including local scopes. Let's try to pass in only what is necessary -- the trait environment.
* | Push resolver upAleksey Kladov2019-11-251-12/+15
| |
* | Switch to variant-granularity field type inferenceAleksey Kladov2019-11-244-22/+41
| |
* | Simplify ADT fieldsAleksey Kladov2019-11-241-11/+5
| |
* | SimplifyAleksey Kladov2019-11-242-6/+5
| |
* | Don't redo field resolution in the IDEAleksey Kladov2019-11-242-13/+20
|/
* SimplifyAleksey Kladov2019-11-241-2/+2
|
* Switch to StaticLoc for staticsAleksey Kladov2019-11-241-2/+0
|
* Remove ids moduleAleksey Kladov2019-11-242-10/+19
|
* Move lang_items to hir_defAleksey Kladov2019-11-234-27/+39
|
* Expand column!()Jeremy Kolb2019-11-221-0/+19
|
* Merge #2357bors[bot]2019-11-221-0/+19
|\ | | | | | | | | | | | | | | 2357: Expand file! to dummy "" r=edwin0cheng a=kjeremy See https://github.com/rust-analyzer/rust-analyzer/pull/2355#issuecomment-557541873 Co-authored-by: kjeremy <[email protected]>
| * Expand file! to dummy ""kjeremy2019-11-221-0/+19
| |
* | Remove TraitData from APIAleksey Kladov2019-11-221-1/+1
| |
* | Hide data from public APIAleksey Kladov2019-11-222-6/+6
| |
* | Move const&static date to hir_defAleksey Kladov2019-11-222-6/+6
| |
* | Make ImplData's fields publicAleksey Kladov2019-11-221-1/+1
| |
* | Move FunctionData to hir_defAleksey Kladov2019-11-223-12/+13
|/
* reformatAleksey Kladov2019-11-211-1/+1
|
* Remove old hir::generics moduleAleksey Kladov2019-11-215-30/+31
|
* Move resolver to hir_defAleksey Kladov2019-11-217-12/+17
|
* DecoupleAleksey Kladov2019-11-215-16/+23
|
* DecoupleAleksey Kladov2019-11-211-8/+8
|
* DecoupleAleksey Kladov2019-11-212-12/+13
|
* Move expr resolver to resolveAleksey Kladov2019-11-211-2/+3
|
* Decouple ResolverAleksey Kladov2019-11-214-27/+35
|
* Add HasResolver traitAleksey Kladov2019-11-202-2/+2
|
* Remove hir/adt.rsAleksey Kladov2019-11-202-4/+2
|
* Move constants to new IDAleksey Kladov2019-11-201-2/+5
| | | | This allows us to get rid of trait item index
* Move traits to hir_defAleksey Kladov2019-11-201-3/+3
|
* Allow non-path default type parametersAleksey Kladov2019-11-202-3/+25
|
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-201-3/+5
|
* Move type inlay hint truncation to language serverEmil Lauridsen2019-11-191-4/+39
| | | | | | | | | | | | This commit implements a general truncation framework for HirFormatter that keeps track of how much has been output so far. This information can then be used to perform truncation inside the language server, instead of relying on the client. Initial support is implemented for truncating types hints using the maxInlayHintLength server config option. The existing solution in the VSCode extension has been removed in favor of letting the server truncate type hints.
* Upgrade Chalk againFlorian Diebold2019-11-162-19/+22
|
* Fix handling of the binders in dyn/impl TraitFlorian Diebold2019-11-163-13/+59
| | | | | | | | | We need to be more careful now when substituting bound variables (previously, we didn't have anything that used bound variables except Chalk, so it was not a problem). This is obviously quite ad-hoc; Chalk has more infrastructure for handling this in a principled way, which we maybe should adopt.