aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Use Chalk's dyn/impl trait supportFlorian Diebold2019-11-163-13/+16
|
* Upgrade ChalkFlorian Diebold2019-11-162-108/+191
| | | | | Associated type values (in impls) are now a separate entity in Chalk, so we have to intern separate IDs for them.
* Force passing Source when creating a SourceAnalyzerAleksey Kladov2019-11-151-8/+9
|
* Remove old impls infrastructureAleksey Kladov2019-11-152-61/+25
|
* Auto-upgrade some insta snapshotsAleksey Kladov2019-11-151-49/+5
|
* Move body queries to hir_defAleksey Kladov2019-11-142-4/+5
|
* Reduce duplication between uncertain floats & intsAleksey Kladov2019-11-135-64/+51
|
* Move expression lowering to hir_defAleksey Kladov2019-11-121-2/+1
|
* Remove owner from BodyAleksey Kladov2019-11-122-10/+9
|
* Move definition of exprs to hir_defAleksey Kladov2019-11-123-33/+35
|
* Minor refactoringAleksey Kladov2019-11-121-3/+3
|
* Minor cleanupAleksey Kladov2019-11-121-1/+1
|
* Don't reexport generics from HIRAleksey Kladov2019-11-113-4/+5
|
* Merge #2205bors[bot]2019-11-111-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | 2205: Implement bulitin line! macro r=matklad a=edwin0cheng This PR implements bulitin macro `line!` and add basic infra-structure for other bulitin macros: 1. Extend `MacroDefId` to support builtin macros 2. Add a `quote!` macro for simple quasi quoting. Note that for support others builtin macros, eager macro expansion have to be supported first, this PR not try to handle it. :) Co-authored-by: Edwin Cheng <[email protected]>
| * Add line macro and testsEdwin Cheng2019-11-111-0/+19
| |
* | Unfork struct and union idsAleksey Kladov2019-11-091-2/+2
|/
* Move Namespace enum closer to usageAleksey Kladov2019-11-044-9/+23
|
* Rename MockDatabase -> TestDBAleksey Kladov2019-11-041-16/+16
| | | | Actually working rename is sooo useful!
* Remove more duplication in test fixturesAleksey Kladov2019-11-041-1/+1
|
* Use new text DSL instead of crate_graph! macroAleksey Kladov2019-11-041-59/+25
|
* Remove last traces of nameres from hirAleksey Kladov2019-11-032-5/+3
|
* Move CrateDefMap to hir_defAleksey Kladov2019-11-031-1/+1
|