Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Introduce hir_ty | Aleksey Kladov | 2019-11-26 | 2 | -190/+3 |
| | |||||
* | Id-ify Ty::Adt | Aleksey Kladov | 2019-11-26 | 5 | -20/+25 |
| | |||||
* | Use TypeAliasId in Ty, pt 2 | Aleksey Kladov | 2019-11-25 | 4 | -29/+22 |
| | |||||
* | Use TypeAliasId in Ty, pt 1 | Aleksey Kladov | 2019-11-25 | 1 | -1/+13 |
| | |||||
* | More ids in Ty | Aleksey Kladov | 2019-11-25 | 2 | -4/+7 |
| | |||||
* | Fixme for union fields | Aleksey Kladov | 2019-11-25 | 2 | -0/+3 |
| | |||||
* | Fix hir for ast::UnionDef | Aleksey Kladov | 2019-11-25 | 2 | -3/+3 |
| | |||||
* | Merge #2388 | bors[bot] | 2019-11-25 | 1 | -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 message | Frizi | 2019-11-24 | 1 | -1/+2 |
| | | |||||
* | | Use ids for Callable | Aleksey Kladov | 2019-11-25 | 2 | -23/+29 |
| | | |||||
* | | Use more IDs | Aleksey Kladov | 2019-11-25 | 1 | -17/+18 |
| | | |||||
* | | Use GenericDefIdMore | Aleksey Kladov | 2019-11-25 | 4 | -18/+20 |
| | | |||||
* | | Use GenericDefId more | Aleksey Kladov | 2019-11-25 | 2 | -13/+13 |
| | | |||||
* | | Remove Resolver from autoderef | Aleksey Kladov | 2019-11-25 | 6 | -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 up | Aleksey Kladov | 2019-11-25 | 1 | -12/+15 |
| | | |||||
* | | Switch to variant-granularity field type inference | Aleksey Kladov | 2019-11-24 | 4 | -22/+41 |
| | | |||||
* | | Simplify ADT fields | Aleksey Kladov | 2019-11-24 | 1 | -11/+5 |
| | | |||||
* | | Simplify | Aleksey Kladov | 2019-11-24 | 2 | -6/+5 |
| | | |||||
* | | Don't redo field resolution in the IDE | Aleksey Kladov | 2019-11-24 | 2 | -13/+20 |
|/ | |||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -2/+2 |
| | |||||
* | Switch to StaticLoc for statics | Aleksey Kladov | 2019-11-24 | 1 | -2/+0 |
| | |||||
* | Remove ids module | Aleksey Kladov | 2019-11-24 | 2 | -10/+19 |
| | |||||
* | Move lang_items to hir_def | Aleksey Kladov | 2019-11-23 | 4 | -27/+39 |
| | |||||
* | Expand column!() | Jeremy Kolb | 2019-11-22 | 1 | -0/+19 |
| | |||||
* | Merge #2357 | bors[bot] | 2019-11-22 | 1 | -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 "" | kjeremy | 2019-11-22 | 1 | -0/+19 |
| | | |||||
* | | Remove TraitData from API | Aleksey Kladov | 2019-11-22 | 1 | -1/+1 |
| | | |||||
* | | Hide data from public API | Aleksey Kladov | 2019-11-22 | 2 | -6/+6 |
| | | |||||
* | | Move const&static date to hir_def | Aleksey Kladov | 2019-11-22 | 2 | -6/+6 |
| | | |||||
* | | Make ImplData's fields public | Aleksey Kladov | 2019-11-22 | 1 | -1/+1 |
| | | |||||
* | | Move FunctionData to hir_def | Aleksey Kladov | 2019-11-22 | 3 | -12/+13 |
|/ | |||||
* | reformat | Aleksey Kladov | 2019-11-21 | 1 | -1/+1 |
| | |||||
* | Remove old hir::generics module | Aleksey Kladov | 2019-11-21 | 5 | -30/+31 |
| | |||||
* | Move resolver to hir_def | Aleksey Kladov | 2019-11-21 | 7 | -12/+17 |
| | |||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 5 | -16/+23 |
| | |||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 1 | -8/+8 |
| | |||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 2 | -12/+13 |
| | |||||
* | Move expr resolver to resolve | Aleksey Kladov | 2019-11-21 | 1 | -2/+3 |
| | |||||
* | Decouple Resolver | Aleksey Kladov | 2019-11-21 | 4 | -27/+35 |
| | |||||
* | Add HasResolver trait | Aleksey Kladov | 2019-11-20 | 2 | -2/+2 |
| | |||||
* | Remove hir/adt.rs | Aleksey Kladov | 2019-11-20 | 2 | -4/+2 |
| | |||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 1 | -2/+5 |
| | | | | This allows us to get rid of trait item index | ||||
* | Move traits to hir_def | Aleksey Kladov | 2019-11-20 | 1 | -3/+3 |
| | |||||
* | Allow non-path default type parameters | Aleksey Kladov | 2019-11-20 | 2 | -3/+25 |
| | |||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 1 | -3/+5 |
| | |||||
* | Move type inlay hint truncation to language server | Emil Lauridsen | 2019-11-19 | 1 | -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 again | Florian Diebold | 2019-11-16 | 2 | -19/+22 |
| | |||||
* | Fix handling of the binders in dyn/impl Trait | Florian Diebold | 2019-11-16 | 3 | -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. | ||||
* | Use Chalk's dyn/impl trait support | Florian Diebold | 2019-11-16 | 3 | -13/+16 |
| | |||||
* | Upgrade Chalk | Florian Diebold | 2019-11-16 | 2 | -108/+191 |
| | | | | | Associated type values (in impls) are now a separate entity in Chalk, so we have to intern separate IDs for them. |