Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Force passing Source when creating a SourceAnalyzer | Aleksey Kladov | 2019-11-15 | 1 | -8/+9 |
| | |||||
* | Remove old impls infrastructure | Aleksey Kladov | 2019-11-15 | 2 | -61/+25 |
| | |||||
* | Auto-upgrade some insta snapshots | Aleksey Kladov | 2019-11-15 | 1 | -49/+5 |
| | |||||
* | Move body queries to hir_def | Aleksey Kladov | 2019-11-14 | 2 | -4/+5 |
| | |||||
* | Reduce duplication between uncertain floats & ints | Aleksey Kladov | 2019-11-13 | 5 | -64/+51 |
| | |||||
* | Move expression lowering to hir_def | Aleksey Kladov | 2019-11-12 | 1 | -2/+1 |
| | |||||
* | Remove owner from Body | Aleksey Kladov | 2019-11-12 | 2 | -10/+9 |
| | |||||
* | Move definition of exprs to hir_def | Aleksey Kladov | 2019-11-12 | 3 | -33/+35 |
| | |||||
* | Minor refactoring | Aleksey Kladov | 2019-11-12 | 1 | -3/+3 |
| | |||||
* | Minor cleanup | Aleksey Kladov | 2019-11-12 | 1 | -1/+1 |
| | |||||
* | Don't reexport generics from HIR | Aleksey Kladov | 2019-11-11 | 3 | -4/+5 |
| | |||||
* | Merge #2205 | bors[bot] | 2019-11-11 | 1 | -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 tests | Edwin Cheng | 2019-11-11 | 1 | -0/+19 |
| | | |||||
* | | Unfork struct and union ids | Aleksey Kladov | 2019-11-09 | 1 | -2/+2 |
|/ | |||||
* | Move Namespace enum closer to usage | Aleksey Kladov | 2019-11-04 | 4 | -9/+23 |
| | |||||
* | Rename MockDatabase -> TestDB | Aleksey Kladov | 2019-11-04 | 1 | -16/+16 |
| | | | | Actually working rename is sooo useful! | ||||
* | Remove more duplication in test fixtures | Aleksey Kladov | 2019-11-04 | 1 | -1/+1 |
| | |||||
* | Use new text DSL instead of crate_graph! macro | Aleksey Kladov | 2019-11-04 | 1 | -59/+25 |
| | |||||
* | Remove last traces of nameres from hir | Aleksey Kladov | 2019-11-03 | 2 | -5/+3 |
| | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -1/+1 |
| |